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
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: mbryan at radiocafe dot com
New email:
PHP Version: OS:

 

 [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 08:00:01 2026 UTC