Derives the full name from a Datetime value of the corresponding weekday 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.

weekdayname(MyDate)

Output: Returns the weekday name from the MyDate column.

weekdayname(datetime_col)


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

datetime_col

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

 

Required?Data TypeExample Value
YesDatetimemyDate

Example - Date element functions