php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #54689 Wrong description
Submitted: 2011-05-08 19:35 UTC Modified: 2011-05-08 19:42 UTC
From: iasen dot kostov at gmail dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
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: iasen dot kostov at gmail dot com
New email:
PHP Version: OS:

 

 [2011-05-08 19:35 UTC] iasen dot kostov at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.localtime#Parameters
---
This is completely messed up and wrong :)
And half of the params have no actual explanation as if they start from 0 or 1. And on that row somebody put kind of explanation for completely different rows.
 
"tm_mday" - day of the month Months are from 0 (Jan) to 11 (Dec) and days of the week are from 0 (Sun) to 6 (Sat). 


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-05-08 19:42 UTC] iasen dot kostov at gmail dot com
-Status: Open +Status: Closed
 [2011-05-08 19:42 UTC] iasen dot kostov at gmail dot com
Strange it looks fixed after the refresh, sorry.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 03:00:02 2026 UTC