PHP.nl

jddayofweek

jddayofweek

Returns the day of the week

 **jddayofweek** int $julian_day int $mode

Returns the day of the week. Can return a string or an integer depending on the mode.

julian_dayA julian day number as integer

mode

The gregorian weekday as either an integer or string.