DateTimePlus::RFC7231
Same name in other branches
- 8.9.x core/lib/Drupal/Component/Datetime/DateTimePlus.php \Drupal\Component\Datetime\DateTimePlus::RFC7231
- 10 core/lib/Drupal/Component/Datetime/DateTimePlus.php \Drupal\Component\Datetime\DateTimePlus::RFC7231
- 11.x 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\DatetimeCode
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.