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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
44 - 18 = ?
Subscribe to this entry?

 
 [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: Sat Jun 01 18:01:28 2024 UTC