WEEKDAY

WEEKDAY day-of-week

Synopsis

WEEKDAY(date,method)

Arguments

date: date serial value

method: numbering system, defaults to 1

Description

The WEEKDAY function returns the day-of-week of date. The value of method determines how days are numbered; it defaults to 1.

Note

If method is 1, then Sunday is 1, Monday is 2, etc. If method is 2, then Monday is 1, Tuesday is 2, etc. If method is 3, then Monday is 0, Tuesday is 1, etc.

Microsoft Excel Compatibility

This function is Excel compatible.

See also

DATE, ISOWEEKNUM.