Search…
⌃K
Links

weekdayName

To return the full weekday name of a given date value
With this function you can determine the corresponding weekday as a string from a weekday number with 0 = Monday, 1 = Tuesday, … 6 = Sunday.
The function can be quite handy if the weekday is only available as a number, for example, “1”, but you need it to be displayed as a string.
The result will be shown in the pre-selected language.

Syntax

weekdayName(number)
weekdayName(number, string)
weekdayName(date)
weekdayName(date, string)
weekdayName(appointment)
weekdayName(appointment, string)

Return

string

Examples

weekdayName(myWeekdayNumber) To return the full weekday name of a given number with 0 = Monday, 1 = Tuesday, … 6 = Sunday.
1
weekdayName(5)
Result: Saturday
​
weekdayName(myWeekdayNumber, language) To return the full weekday name of a given number in a specific language supported by Ninox.
1
weekdayName('Date 3', "fr")
Result: Mercredi (with Date 3 = May 19, 2021)
​
weekdayName(myDate) To return the full weekday name of a given date as Monday, Tuesday, … Sunday.
​
weekdayName(myDate, language) To return the full weekday name of a given date in a specific language supported by Ninox.
​
weekdayName(myAppointment) To return the full weekday name of the start date of a given appointment as Monday, Tuesday, … Sunday.
​
weekdayName(myAppointment, language) To return the full weekday name of the start date of a given appointment in a specific language supported by Ninox.

See also

​weekday, which returns the weekday of a given date value as a number.
​weekdayIndex, which returns a given weekday name as a number.