MonthFromDate function
Returns the month number from the given date.
Namespace
datetime
Input
date(date
)
Output
month number of year (int
)
Example
If basedate
contains the time 2008-08-18
, then the two following functions are equivalent, and return the value 8
:
set-column result datetime:MonthFromDate('2008-08-18')
set-column result datetime:MonthFromDate(basedate)
Created in 2020 by Google Inc.