syntax:functions:weekdayname
Table of Contents
WeekdayName(date)
Category: Date and Time function
Description
This function returns the abbreviated name of the day date falls on.
Arguments
Argument | Type | Description |
---|---|---|
date | Date or Number (date serial) | An expression representing a date to derive the weekday name from. |
Return value type: Text (Sun, Mon, Tue, Wed, Thu, Fri, Sat)
Remarks
The date argument can take any value or expression that evaluates to a date serial value. Examples include:
- A date string: #2019-12-12
- A date serial value: 43811 (the date serial for "2019-12-12")
- A date value created using any of the Date/Time functions that returns a date serial value.
Examples
weekdayname(44448) //Returns 'Thu' (44448 represents 2021-09-09)
weekdayname(#1910-05-01) //Returns 'Sun'
See also
syntax/functions/weekdayname.txt · Last modified: 2021/09/09 16:12 by craigt