You are here

constant DateTimePlus::RFC7231 in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Component/Datetime/DateTimePlus.php \Drupal\Component\Datetime\DateTimePlus::RFC7231
  2. 9 core/lib/Drupal/Component/Datetime/DateTimePlus.php \Drupal\Component\Datetime\DateTimePlus::RFC7231

A RFC7231 Compliant date.

Example: Sun, 06 Nov 1994 08:49:37 GMT

See also

http://tools.ietf.org/html/rfc7231#section-7.1.1.1

File

core/lib/Drupal/Component/Datetime/DateTimePlus.php, line 53

Class

DateTimePlus
Wraps DateTime().

Namespace

Drupal\Component\Datetime

Code

const RFC7231 = 'D, d M Y H:i:s \\G\\M\\T';