DateTimePlus::RFC7231

Same name in other branches
  1. 9 core/lib/Drupal/Component/Datetime/DateTimePlus.php \Drupal\Component\Datetime\DateTimePlus::RFC7231
  2. 8.9.x core/lib/Drupal/Component/Datetime/DateTimePlus.php \Drupal\Component\Datetime\DateTimePlus::RFC7231
  3. 11.x core/lib/Drupal/Component/Datetime/DateTimePlus.php \Drupal\Component\Datetime\DateTimePlus::RFC7231

A RFC7231 Compliant date.

See also

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

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

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';

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.