JDDayOfWeek

It returns the day of the week

Example

<?php
echo jddayofweek (cal_to_jd(CAL_GREGORIAN, date(“m”),date(“d”), date(“Y”)) , 1 );
?>

Output

Friday

Share