RFC 2822
Email Date header format. Includes day-of-week, numeric timezone offset.
Convert any date to RFC 2822 format — the standard for email Date headers.
Email Date header format. Includes day-of-week, numeric timezone offset.
Same format forced to +0000 (UTC/GMT).
The modern alternative. Preferred for APIs and data interchange.
RFC 2822 defines the format for email message headers. The Date header uses the pattern: Day, DD Mon YYYY HH:MM:SS +HHMM. Example: Mon, 15 Jul 2024 14:00:00 +0200. It superseded RFC 822 and is itself referenced by RFC 5322 (the current email standard).
Email headers
Date: header in SMTP/MIME messages
RSS feeds
<pubDate> element in RSS 2.0
HTTP (legacy)
Older servers used RFC 2822 before RFC 7231 standardized IMF-fixdate
Git commits
Author/committer date in raw commit objects
RFC 2822 is human-readable but harder to parse and sort. ISO 8601 sorts lexicographically and is unambiguous. Use RFC 2822 only where protocols require it (email, RSS). For APIs and databases, prefer ISO 8601.