DateTime.hasDay

class DateTime
bool
hasDay
()

Return Value

Type: bool

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