PHP: Create a Timestamp with mktime()

05/01/99 2.30:00
The time is the 1st 1999f May 1999, at 2.30 am

 

<?php
// make a timestamp for 1/5/99 at 2:30 am
$ts = mktime(2, 30, 0, 5, 1, 1999 );
print date("m/d/y G.i:s<br />", $ts);
print "<br />";
print "The time is ";
print date("\\t\h\e j\s\\t of F Y, \a\\t g.i a", $ts);

?>