[PHP-DOC] Bug #12253 Updated: typo error on documentation page for date() function? From: goba <email protected>
Date: 07/19/01

ID: 12253
Updated by: goba
Reported By: aldeba <email protected>
Status: Open
Old Bug Type: Website problem
Bug Type: Documentation problem
Operating System: W2K
PHP Version: 4.0.6
New Comment:

This is not a website bug, indeed it is a documentation bug! Please use the type dropdown list carefully!

Thanks.

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

[2001-07-19 09:59:31] aldeba <email protected>

Under the date function from this url
http://www.php.net/manual/en/function.date.php

In example 3, the third sub-example.
i think there is a typo?
it is written on the website as such

*** Quote***
/* Today is March 10th, 2001, 5:16:18 pm */
$today = date("F j, Y, g:i a"); // March 10, 2001, 5:16 pm
$today = date("m.d.y"); // 03.10.01
$today = date("j, g, Y"); // 10, 3, 2001

*** End Quote ***

the third subexample should be
$today = date("j, m, Y"); ????

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

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