+ 2
How to print first, second and third Saturday in a calender in php language...Plz suggest me
I want to show odd Saturday by red color in a calender
2 Réponses
+ 2
$sat = date("F Y",strtotime("2015-08-01")); echo $fir_sat = "$sat first saturday";
echo " is ".date('d', strtotime($fir_sat)); $sat = date("F Y",strtotime("2015-07-04")); echo $fir_sat = "$sat first saturday"; echo " is ".date('d', strtotime($fir_sat));
+ 2
and output..
August 2015 first Saturday is 08 July 2015 first Saturday is 04