gmmktime

It returns  Unix timestamp for a GMT date
Example

<?php
echo “May 17, 1984 is on a ” . date(“l”, gmmktime(0, 0, 0, 7, 1, 2007));
?>

Output

May 17, 1984 is on a Sunday

Share