/
MonthFromDate function
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)
Related content
DateFromComponents function
DateFromComponents function
Read with this
DaysSinceFromDate function
DaysSinceFromDate function
More like this
DateOffsetByComponents function
DateOffsetByComponents function
Read with this
TimeDate function
TimeDate function
Read with this
CDAP Hub Release Log
CDAP Hub Release Log
More like this
Google Ads Single Report Batch Source (Deprecated)
Google Ads Single Report Batch Source (Deprecated)
More like this
Created in 2020 by Google Inc.