DayName
Purpose
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
FileMaker Pro 6.0 or earlier
Examples
DayName ( Date ( 10 ; 7 ; 2019 ) ) returns Monday.
DayName ( ProjectDue ) returns Monday when ProjectDue is 10/7/2019.
DayName ( "10/7/2019" ) returns Monday.
"Return your selection by " & DayName ( DueDate ) displays the text Return your selection by followed by the name of the day stored in DueDate.
Important To avoid errors when using dates, always use four-digit years. For more information about how FileMaker Pro handles two-digit dates, see
Entering dates with two-digit years.
Related topics