JDDayOfWeek -- Returns the day of the week


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

0returns the day number as an int (0=sunday, 1=monday, etc)
1returns string containing the day of week (english-gregorian)
2returns a string containing the abreviated day of week (english-gregorian)