Creating a Time Stamp with mktime() : mktime : Development PHP Source Code


PHP Source Code » Development » mktime »

 

Creating a Time Stamp with mktime()






<html>
<head>
<title>Creating a timestamp with mktime()</title>
</head>
<body>
<?php
$ts = mktime2300511999 );
print date("m/d/y G.i:s<br>", $ts);
print "The date is ";

print date("j of F Y, a\t g.i a", $ts );
?>
</body>
</html>


           
       



HTML code for linking to this page:

    PHP Function Reference -> Users Code Examples / Notes - > mktime:
  • gmmktime
  • mktime
Follow Navioo On Twitter

PHP Source Code

 Navioo Development
» mktime