| Home > Computer & I'net > Date... |
Date | |||||||||||||||||||||||||||||||||||||||||||||||||||||
date ("formatting");
gmdate ("formatting"); There are many variations to use in formatting the outcome of a date. Using the date command without any formatting will result as blank. Here is a list of formatting options :
Using a combination of these letters, the date and time may be displayed in a number of ways. Example... echo "Today is " . date("F jS, Y") . "<br>"; echo "The time is " . date("g:i:s a"); The result is : Today is December 10th, 2003
The time is 8:13:11 am ----------------- Article by David Stanley. Visit his site http://www.htmlite.com. Reprinted with permission. | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| Articles |
•Auto & Trucks•Business•Computer & I'net·General·Apache·CSS·Database·Hardware·HTML·Javascript&DHTML·Linux·MySQL·Operating System·Perl / CGIPHP·Programming·Publishing·Search Engines·Software Problems·SSI·Tips & Tricks·Utilities·Web Design•Family•Food & Drink•Gardening•Health•Other•Pets•Psychology•Spiritual•Travel•Women |
| Calculators |
|