Create a date

Create a date and time using the mktime function

<?php
$timestamp = mktime(11, 15, 0, 7, 23, 2009);
print date(“m/d/y G.i:s<br>”, $timestamp);
print “<br>”;
print “The date is “;
print date(“j of F Y, \a\\t g.i a”, $timestamp);
?>

LEAVE A REPLY

Please enter your comment!
Please enter your name here

*