JDDayOfWeek

(PHP3 , PHP4 )

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
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 abbreviated day of week (english-gregorian)