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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Fri May 03 02:01:31 2024 UTC