weekdayNames

returns a list of names of the days of the week used by the date function.

# Metadata

Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 1.1 Security:

# Syntax

the [{ long | abbreviated | short }] [{ english | system }] weekdayNames

# Examples

put the weekdayNames into field "Weekdays"

if it is not among the lines of the system weekdayNames then beep

# Description

Use the weekdayNames function to let the user choose from a list of weekday names, or to display a list of days in the language of the user's system preferences.

For each form of the weekdayNames, if the useSystemDate property is set to true, or if you specify the system weekdayNames, the list of names is provided in the language specified by the user's system preferences. If the useSystemDate is false or you specify the english weekdayNames, the list of names is provided in English.

# Tags

# See

- **property:** useSystemDate - **function:** dateFormat, date - **glossary:** function, property, return - **control structure:** function