DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Haydn has posted 6 posts at DZone. View Full User Profile

PHP Print Todays Date In PHP

08.13.2010
| 3215 views |
  • submit to reddit
        // description of your code here


September 3rd, 2002
<? print date("F jS, Y"); ?>

mm/dd/yyyy
<? print date("m/j/Y"); ?>

mm/dd/yy
<? print date("m/j/y"); ?>

More Info: http://www.php.net/manual/en/function.date.php

<a href="http://www.sportsgames1.com"> Sports Games </a>