Definition :
The jddayofweek() function is a built-in function in PHP.the jddayofweek() function is used to returns the day of the week.
jddayofweek(jd,mode);
Parameter | Description |
---|---|
jd | Required. A Julian Day number |
mode | Optional. Specifies how to return the weekday. Can have one of the following values:
|
Following given example return the weekday of 20th March, 2008.
Output : Thursday