JDDayOfWeek

(PHP 3, PHP 4 )

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 integer depending on the mode.

表格 1. Calendar week modes

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