jddayofweek
Return to the date of the week.
jddayofweek()
function returns the date of the week.
Return to October 15, 1980, which day is the week:
<?php $jd = gregoriantojd ( 10 , 15 , 1980 ) ; echo jddayofweek ( $jd , 1 ) ; ?>
Run the instance
jddayofweek ( jd , mode ) ;
parameter | describe |
---|---|
jd | Required. Numbers (Julian day count). |
mode |
Optional. Defines how to return the week (number or string). It can be one of the following values:
|