Return the weekday of 13th January, 2014 in PHP
Description
The following code shows how to return the weekday of 13th January, 2014.
Example
/* ww w . ja v a2 s . co m*/
<?php
$jd=gregoriantojd(1,13,2014);
echo jddayofweek($jd,1);
?>
The code above generates the following result.