|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15299 getdate function returns 'March' for month 2 and month 3
Submitted: 2002-01-30 09:24 UTC Modified: 2002-01-30 19:45 UTC
From: davedill at hotmail dot com Assigned:
Status: Not a bug Package: Calendar related
PHP Version: 4.1.1 OS: Linux, Windows98
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: davedill at hotmail dot com
New email:
PHP Version: OS:


 [2002-01-30 09:24 UTC] davedill at hotmail dot com
PHP Version 4.0B2 (Linux) and PHP Version 4.0.6 (Windows) both show same problem

$month=2 or $month=3 both produce 'March' as output ($monthName)

return $monthName;


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-01-30 11:42 UTC]
the thirtieth day of february is in march.
 [2002-01-30 19:46 UTC] davedill at hotmail dot com
Yes, that occurred to me a couple of hours after I submitted this. Sorry!
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sat Jun 10 01:03:36 2023 UTC