Example Code


mktime(0, 0, 0, 9, 1, 1427); echo "Calculated first day of Ramadan 1427 unix timestamp is: \$time
"; \$Gregorian = date('l F j, Y',\$time); echo "Which is \$Gregorian in Gregorian calendar"; ?> END; highlight_string($code); ?>

Example Output


mktime(0, 0, 0, 9, 1, 1427); echo "Calculated first day of Ramadan 1427 unix timestamp is: $time
"; $Gregorian = date('l F j, Y',$time); echo "Which is $Gregorian in Gregorian calendar"; ?>