|  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
 [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-2021 The PHP Group
All rights reserved.
Last updated: Wed Sep 22 05:03:37 2021 UTC