Switch to full style
:read: Start PHP with us. Includes topics to help you in php
Post a reply

Time Stamp with mktime()

Tue Oct 28, 2008 12:22 am

Code:

<html>
<head>
<title>Creating a timestamp with mktime()</title>
</head>
<body>
<?php
$ts
= mktime( 2, 30, 0, 5, 1, 1999 );
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>




Post a reply
  Related Posts  to : Time Stamp with mktime()
 What Time Is It?     -  
 explode time     -  
 max execution time     -  
 run time polymorphism     -  
 Time countdown     -  
 How to get system time in java     -  
 time for which a key was kept pressed by user     -  
 login using sessionid or time     -  
 current system time     -  
 Calculate process time     -  

Topic Tags

PHP Date