DateTime.hasSecond

class DateTime
bool
hasSecond
()

Return Value

Type: bool

TRUE if datetime<!-- -->'s second field is set, otherwise FALSE