WEEKDAY

Name

WEEKDAY -- 

Synopsis

WEEKDAY (serial_number)

Description

WEEKDAY converts a serial number to a weekday.

This function returns an integer in the range 0-6, where Saturday is 0, Sunday is 1, etc.

Note that Gnumeric will perform regular string to serial number conversion for you, so you can enter a date as a string.

This function is Excel compatible.

Examples

WEEKDAY("10/24/1968") equals 5 (Thursday).

See also

DAY, MONTH, TIME, NOW, YEAR.