DateTime.hasTime

class DateTime
bool
hasTime
()

Return Value

Type: bool

%TRUE if @datetime<!-- -->'s hour and minute fields are set, otherwise %FALSE

Meta