php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #12253 typo error on documentation page for date() function?
Submitted: 2001-07-19 09:59 UTC Modified: 2001-07-20 14:17 UTC
From: aldeba at innocent dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: 4.0.6 OS: W2K
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: aldeba at innocent dot com
New email:
PHP Version: OS:

 

 [2001-07-19 09:59 UTC] aldeba at innocent dot com
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");   ????

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-19 10:10 UTC] goba@php.net
This is not a website bug, indeed it is a documentation bug! Please use the type dropdown list carefully!

Thanks.
 [2001-07-20 14:17 UTC] tom@php.net
This is corrected in the CVS now, and will be online tomorrow.

Thanks.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Jun 16 12:00:02 2026 UTC