Skip to content
Contact us

DayName()

DayName ( date )

ArgumentDescription
string dateThe 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’)