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>
Related examples in the same category