DayName
Returns text that is the full name of the weekday for a date.
Format
DayName ( date )
Parameters
date
- any calendar date
Data type returned
text
Originated in version
6.0 or earlier
Example 1
DayName ( Date ( 10 ; 7 ; 2019 ) )
returns Monday.
DayName ( ProjectDue )
returns Monday when ProjectDue is 10/7/2019.
DayName ( "10/7/2019" )
returns Monday.
Example 2
"Return your selection by " & DayName ( DueDate )
displays the text Return your selection by followed by the name of the day stored in DueDate.