note 61066 deleted from function.mktime by bjori
| From: | bjori@php.net | Date: | Thu, 01 Jun 2006 18:38:07 +0000 |
| Subject: | note 61066 deleted from function.mktime by bjori | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-112807@lists.php.net to get a copy of this message | ||
Note Submitter: juras_4s at tut dot by
----
Certain letters used in the function (such as t or n) will turn into special characters when
backslashed, so you won't be able to use them. For example, date("F j, Y
[backslash]a[backslash]t g:i A") will give you "January 24, 2006 a[tab] 1:52 PM", but
if you do not backslash "t", you will get "January 24, 2006 a31 1:52 PM", since
t represents number of days in the current month. The only workaround is typing 'echo
date("F j, Y") . " at " . date("g:i A");'