DateTime.hasMonth

class DateTime
bool
hasMonth
()

Return Value

Type: bool

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