Functions and operators : WEEKDAY( )

WEEKDAY( )

Returns the day of the week for a specified date value.

Syntax

WEEKDAY(date, option)

Arguments

date

The date or date expression from which you get the day of the week.

option

A number representing the weekday format to return. Use one of the following values:

n
n
n
n
n

If you omit option, WEEKDAY( ) assumes option 1.

Returns

The day of the week for a specified date value.

Example

The following example gets the full weekday name for each date value in the DateSold data field.

WEEKDAY([DateSold], 4)