rfc2616 datetime format?
| From: | Stas Malyshev | Date: | Sat, 02 Oct 2010 01:18:23 +0000 |
| Subject: | rfc2616 datetime format? | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-49840@lists.php.net to get a copy of this message | ||
Hi!
Any reason why DateTime doesn't have a constant for RFC2616 (HTTP) date format? RFC1123 and 'r' are _almost_ there but 2616 explicitly states TZ must be "GMT" and 1123 format produces +0000 instead.
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227