Derives the month integer value from a Datetime value. Source value can be a a reference to a column containing Datetime values or a literal.

NOTE: If the source Datetime value does not include a valid input for this function, a missing value is returned.


Output: Returns the numeric month values from the MyDate column.


ArgumentRequired?Data TypeDescription
datetime_colYdatetimeName of column whose month values are to be computed


Name of the column whose month value is to be computed.

Required?Data TypeExample Value

Example - Date element functions