September 2001
Intermediate to advanced
768 pages
32h 45m
English
mixed jddayofweek(int JD, [int flag])
| JD | Julian day count |
| flag | Integer flag indicating the format in which to display the day of the week |
Gets the day of the week for the Gregorian calendar from the given Julian day count.
Returns:
Value representing the day of the week; 0 if the Julian day count is less than zero
Description:
jddayofweek() finds the day of the week for the Gregorian calendar date that corresponds to the specified Julian day count. The day of the week is returned as an integer or as the full or abbreviated name of the day.
The flag parameter controls the format in which the day of the week is output. If the flag argument is not set, flag is 0. The flags are described in the following table.
| Mode | Result |
|---|---|
| 0 | Returns ... |
Read now
Unlock full access