php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1819 The date() function no longer likes the "n" switch.
Submitted: 1999-07-22 00:43 UTC Modified: 1999-07-22 09:16 UTC
From: mbryan at radiocafe dot com Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 4.0 Beta 1 OS: Redhat Linux 6.0
Private report: No CVE-ID: None
 [1999-07-22 00:43 UTC] mbryan at radiocafe dot com
<?php

   echo date("n"); // Used to Return the Current Month without the Padded 0.  Now, just returns "n"

?>

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-07-22 09:16 UTC] sas at cvs dot php dot net
fixed in CVS
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 05:00:01 2026 UTC