note 16077 added to function.date
| From: | jalmarez at hotmail dot com | Date: | Mon, 15 Oct 2001 23:05:08 +0000 |
| Subject: | note 16077 added to function.date | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-18947@lists.php.net to get a copy of this message | ||
TO: opedog@comediccadavers.com
about your comment saying that
when you use the quotes (") the \t is not used..:
date("l, F j, Y \a\t g:i a T", $datetime)
But when you use the aposterphies (') the \t is used.
date('l, F j, Y \a\t g:i a T', $datetime);
Some people at Microsoft used to say that when something went wrong with their programs they used to
call them "features". This is not a bug. When the quotes are used The whole string is
parsed and the \t is considered a tab. But if you use the aposterphies then the whole string is not
parsed and is taken literaly.
--
http://www.php.net/manual/en/function.date.php
http://master.php.net/manage/user-notes.php?action=edit+16077
http://master.php.net/manage/user-notes.php?action=delete+16077
http://master.php.net/manage/user-notes.php?action=reject+16077