diff --git a/reference/datetime/formats.xml b/reference/datetime/formats.xml index d3aa74bfb5..d67d55e5b5 100644 --- a/reference/datetime/formats.xml +++ b/reference/datetime/formats.xml @@ -123,9 +123,9 @@ class DateTime#1 (3) { This page describes the different date/time formats that the DateTimeImmutable, DateTime, - date_create, - date_create_immutable, and - strtotime parser understands. + date_create, + date_create_immutable, and + strtotime parser understands. @@ -281,8 +281,10 @@ class DateTime#1 (3) { This page describes the different date formats that the - strtotime, DateTime and - date_create parser understands. + DateTimeImmutable, DateTime, + date_create, + date_create_immutable, and + strtotime parser understands.
@@ -558,8 +560,10 @@ class DateTime#1 (3) { This page describes the different compound date/time formats that the - strtotime, DateTime and - date_create parser understands. + DateTimeImmutable, DateTime, + date_create, + date_create_immutable, and + strtotime parser understands.
@@ -657,6 +661,72 @@ class DateTime#1 (3) {
+ + Standards Formats + + + + Description + Examples + + + + + ATOM + "2022-06-02T16:58:35+00:00" + + + COOKIE + "Thursday, 02-Jun-2022 16:58:35 UTC" + + + ISO8601 + "2022-06-02T16:58:35+0000" + + + RFC 822 + "Thu, 02 Jun 22 16:58:35 +0000" + + + RFC 850 + "Thursday, 02-Jun-22 16:58:35 UTC" + + + RFC 1036 + "Thu, 02 Jun 22 16:58:35 +0000" + + + RFC 1123 + "Thu, 02 Jun 2022 16:58:35 +0000" + + + RFC 2822 + "Thu, 02 Jun 2022 16:58:35 +0000" + + + RFC 3339 + "2022-06-02T16:58:35+00:00" + + + RFC 3339 Extended + "2022-06-02T16:58:35.698+00:00" + + + RFC 7231 + "Thu, 02 Jun 2022 16:58:35 GMT" + + + RSS + "Thu, 02 Jun 2022 16:58:35 +0000" + + + W3C + "2022-06-02T16:58:35+00:00" + + + +
+ Localized Notations @@ -749,8 +819,10 @@ class DateTime#1 (3) { Relative Formats This page describes the different relative date/time formats that the - strtotime, DateTime and - date_create parser understands. + DateTimeImmutable, DateTime, + date_create, + date_create_immutable, and + strtotime parser understands.