|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2018-06-01 21:52 UTC] cmb@php.net
-Status: Open
+Status: Verified
-Package: Documentation problem
+Package: Date/time related
[2018-06-01 21:52 UTC] cmb@php.net
[2020-09-18 15:06 UTC] cmb@php.net
-Status: Verified
+Status: Closed
-Assigned To:
+Assigned To: cmb
[2020-09-18 15:06 UTC] cmb@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 04:00:02 2025 UTC |
Description: ------------ Since PHP 7.2.0 constants that where defined in DateTime moved to DateTimeInterface, see FR #71520 and PHP 7.2.0 ChangeLog: $ php -r "echo PHP_VERSION;" 7.2.4 $ php -r "ReflectionClass::export('DateTimeInterface');" Interface [ <internal:date> interface DateTimeInterface ] { - Constants [13] { Constant [ public string ATOM ] { Y-m-d\TH:i:sP } Constant [ public string COOKIE ] { l, d-M-Y H:i:s T } Constant [ public string ISO8601 ] { Y-m-d\TH:i:sO } Constant [ public string RFC822 ] { D, d M y H:i:s O } Constant [ public string RFC850 ] { l, d-M-y H:i:s T } Constant [ public string RFC1036 ] { D, d M y H:i:s O } Constant [ public string RFC1123 ] { D, d M Y H:i:s O } Constant [ public string RFC7231 ] { D, d M Y H:i:s \G\M\T } Constant [ public string RFC2822 ] { D, d M Y H:i:s O } Constant [ public string RFC3339 ] { Y-m-d\TH:i:sP } Constant [ public string RFC3339_EXTENDED ] { Y-m-d\TH:i:s.vP } Constant [ public string RSS ] { D, d M Y H:i:s O } Constant [ public string W3C ] { Y-m-d\TH:i:sP } } ...