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

Formatting a Date with date()

Mon Oct 27, 2008 6:37 pm

Code:

<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>




Post a reply
  Related Posts  to : Formatting a Date with date()
 date formatting in Java     -  
 Want start and end date of a month from current date     -  
 get next date by next day     -  
 date validation in asp     -  
 Date in Java     -  
 How To Increment Date In JSP?     -  
 String to sql.Date     -  
 Google indexing DATE     -  
 make class of date     -  
 Convert String to Date     -  

Topic Tags

PHP Date