Vocabulary
calendar

Inputs
timestampa timestamp


Outputs
nan integer


Word description
Calculates the index of the day of the week. Sunday will result in an index of 0.

Examples
USING: calendar prettyprint ; now sunday day-of-week .
0


Definition