Return to Snippet

Revision: 55153
at January 29, 2012 09:12 by jknight42

Initial Code
<?php echo date("l"); ?>  // Day of the week, ie: Monday
<?php echo date("Y"); ?>  // Year, ie: 2012
<?php echo date("F j, Y, g:i a"); ?>  // Date and time, ie: March 10, 2001, 5:16 pm

Initial URL

Initial Description
Just a few quick functions to display the date in PHP.

Initial Title
PHP display date: year, month, day, time, etc.

Initial Tags
php, date

Initial Language