Formatting a Date with date() : date function : Development PHP Source Code


PHP Source Code » Development » date function »

 

Formatting a Date with date()






<html>
<head>
<title>Formatting a date with date()</title>
</head>
<body>
<?php
print date("m/d/y G.i:s<br>", time());
print "Today is ";
print date("j of F Y, a\t g.i a", time());
?>
 </body>
</html>


           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo Development
» date function