Equinox Online Help - Language Reference - A to Z

Home

Dayname

Applies to
SyntaxDayname(DayExpression)
Action[Function] Returns the day name for a specified date or day number.
ScopeUsable 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.

CategoryDate 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)