(PHP 4, PHP 5, PHP 7)
jddayofweek — Returns the day of the week
mixed jddayofweek ( int $julianday [, int $mode = CAL_DOW_DAYNO ] )
Returns the day of the week. Can return a string or an integer depending on the mode.
A julian day number as integer
|0 (Default)||Return the day number as an int (0=Sunday, 1=Monday, etc)|
|1||Returns string containing the day of week (English-Gregorian)|
|2||Return a string containing the abbreviated day of week (English-Gregorian)|
The gregorian weekday as either an integer or string.
© 1997–2017 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.