note 21899 added to function.date
| From: | php-general at lists dot php dot net | Date: | Thu, 30 May 2002 20:06:29 +0000 |
| Subject: | note 21899 added to function.date | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-31235@lists.php.net to get a copy of this message | ||
For escaping the characters under a Windows system, you must use double backslashes:
date("M jS, \\a\\t Y g:ia T");
Also note that using 'T' will not print the timezone in the GMT, CET etc. format. It can
print something like this: W. Europe Standard Time
This was discover under PHP 4.2.1,
might work differently on other versions.
--
http://www.php.net/manual/en/function.date.php
http://master.php.net/manage/user-notes.php?action=edit+21899
http://master.php.net/manage/user-notes.php?action=delete+21899
http://master.php.net/manage/user-notes.php?action=reject+21899