|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #75589 RFC3336_EXTENDED format with v
Submitted: 2017-11-29 14:08 UTC Modified: 2017-11-29 14:44 UTC
From: dan dot milligan at psikick dot com Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: 5.6.32 OS: Linux
Private report: No CVE-ID: None
 [2017-11-29 14:08 UTC] dan dot milligan at psikick dot com
From manual page:

The format for the RFC3336_EXTENDED is shown as follows:
const string RFC3339_EXTENDED = "Y-m-d\TH:i:s.vP" ;

Should the .v be .u for microseconds?  In practice w/ 5.6.32 on the PI it throws an error w/ a .v

Test script:
$dateTime = new DateTime();



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2017-11-29 14:44 UTC]
-Status: Open +Status: Not a bug
 [2017-11-29 14:44 UTC]
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at and the instructions on how to report
a bug at

Specifically the description of the DateTime::RFC3339_EXTENDED constant:

> RFC 3339 EXTENDED format (since PHP 7.0.0) (example: 2005-08-15T15:52:01.000+00:00) 

And the description for the formats on the date docs page:
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Thu Feb 25 17:01:24 2021 UTC