note 16978 added to function.date
| From: | tit dot petric at telemach dot net | Date: | Tue, 20 Nov 2001 21:15:57 +0000 |
| Subject: | note 16978 added to function.date | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-21082@lists.php.net to get a copy of this message | ||
acctualy its G:i:s not H:i:s .. if you would read the above notes, you would see that H is not the
24HR format but only 12 hour, and "H" should be thus used with combination with
"a" to get a correct readable time.
i personally suggest using the 24 hour format internally and strtotime() to convert it to whatever
you want to be displayed.
--
http://www.php.net/manual/en/function.date.php
http://master.php.net/manage/user-notes.php?action=edit+16978
http://master.php.net/manage/user-notes.php?action=delete+16978
http://master.php.net/manage/user-notes.php?action=reject+16978