php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #26207 date(): add format parameter for colons in UTC offset
Submitted: 2003-11-11 13:15 UTC Modified: 2006-08-27 15:44 UTC
From: danielc at analysisandsolutions dot com Assigned: bjori (profile)
Status: Closed Package: Feature/Change Request
PHP Version: 5.1.3 OS: irrelevant
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: danielc at analysisandsolutions dot com
New email:
PHP Version: OS:

 

 [2003-11-11 13:15 UTC] danielc at analysisandsolutions dot com
Description:
------------
date('O') produces the offset in "+0200" format.  It would be nice to be able to have a format parameter that 
outputs the same information but with a colon in it: "+02:00."


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-08-27 15:44 UTC] bjori@php.net
Thank you for your bug report. This issue has already been fixed
in the latest released version of PHP, which you can download at 
http://www.php.net/downloads.php

Thank you for your bug report. This issue has already been fixed
in the latest released version of PHP, which you can download at 
http://www.php.net/downloads.php

Fixed in 5.1.3 and above.
date("P");
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Sep 19 14:01:28 2024 UTC