mixed jddayofweek(int julianday, int mode);Returns the day of the week. Can return a string or an int depending on the mode.
Table 1. Calendar week modes
| Mode | Meaning |
|---|---|
| 0 | returns the day number as an int (0=sunday, 1=monday, etc) |
| 1 | returns string containing the day of week (english-gregorian) |
| 2 | returns a string containing the abreviated day of week (english-gregorian) |