MonthFromDate¶
Returns the month of the year from a date input.
Expects a date as input and returns an integer representing the month of
the year (1–12). Useful for the month_of_birth field in the person
table.
Parameters¶
No parameters accepted.
Input type¶
DATE
Output type¶
INT
Examples¶
Default
See also¶
DayFromDate, YearFromDate, HourFromDate, MinuteFromDate, SecondFromDate, MergeDate