Equinox Online Help - Language Reference - A to Z
Dayname |
|
|---|---|
| Applies to | ![]() |
| Syntax | Dayname(DayExpression) |
| Action | [Function] Returns the day name for a specified date or day number. |
| Scope | Usable anywhere. |
| Notes | The function determines the day name from DayExpression and returns it as a string, eg "Tuesday". The argument can either be a date, or a number between one and seven. |
| Category | Date handling |
| See Also | Years, Year, Day, Dayofweek, Dayofyear, Dmy, Dmyadd, Leapyear, Month, MonthName, Months, ServerDateTime, Today, Week, WeekOfYear, WeekStart |
| Example | The following method tells the user when the last system backup was taken. Alert "Your last backup was on " & Dayname(lastbackupdate) |
