php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #809 date() format "j" not working as documented
Submitted: 1998-10-01 22:48 UTC Modified: 1998-10-02 10:14 UTC
From: okyeron at starnews dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: 3.0.3 OS: Solaris 2.6
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: okyeron at starnews dot com
New email:
PHP Version: OS:

 

 [1998-10-01 22:48 UTC] okyeron at starnews dot com
Attempting to use date("F j, Y", timestamp) to produce "October 1, 1998" does not work. It simply prints the "j" character.

The online documentation states that "j" can be used to return the day of the month without leading zeros.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-10-02 10:14 UTC] zeev
Support for the 'j' directive was added in 3.0.4.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 02 19:01:36 2025 UTC