Function reference
Obtains the day of the week in a date value and returns the weekday’s name.

DayName ( date )
Argument Description
string date The date for which you want the name of the day

Data type: String
Returns a string whose value is the name of the weekday (Sunday, Monday, and so on) for date.

Example: If( DayNameLocal( Today() ) <> ‘Sunday’, ‘Okay’, ‘Only Sundays are valid’)

Last modified: 23 May 2021