date->weekday

Name

date->weekday -- The day of the week on which the date falls.

Type: function

Synopsis

date->weekday( date, weekday);

Arguments

date

An instance of <date>

Return Values

weekday

An instance of <symbol>

Description

Returns a symbol representing the day of the week on which the given date falls. In particular, returns exactly on of: sunday, monday, tuesday, wednesday, thursday, friday, saturday.