ID:               35474
 User updated by:  dave at ilovejackdaniels dot com
 Reported By:      dave at ilovejackdaniels dot com
-Status:           Bogus
+Status:           Closed
 Bug Type:         Documentation problem
 Operating System: Any
 PHP Version:      Irrelevant
 New Comment:

Ahhh. My mistake - thanks.


Previous Comments:
------------------------------------------------------------------------

[2005-11-29 13:32:29] [EMAIL PROTECTED]

Not inside single quotes.

------------------------------------------------------------------------

[2005-11-29 13:23:02] dave at ilovejackdaniels dot com

Description:
------------
There is an error in the examples of date() usage:

$today = date('\i\t \i\s \t\h\e jS \d\a\y.');  // It is the 10th day.

and:

$today = date('H:m:s \m \i\s\ \m\o\n\t\h');    // 17:03:17 m is month

\t in date() will produce a tab rather than a "t". The "t"s above
should be double-escaped, or the outputs should be changed to show tabs
instead of "t"s.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=35474&edit=1

Reply via email to