Derives the full name from a Datetime value of the corresponding month as a String. Source value can be 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.

monthname(MyDate)

Output: Returns the month name from the MyDate column.

monthname(datetime_col)


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

datetime_col

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

 

Required?Data TypeExample Value
YesDatetimemyDate

Example - Date element functions