PHP3 Manual
PrevNext

JDDayOfWeek

JDDayOfWeek -- Returns the day of the week

Description

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

ModeMeaning
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)


PrevHomeNext
JDMonthNameUpDate/Time Functions