EpochLab

RFC2822 Converter

Convert a date to RFC 2822

The email and HTTP form — `Tue, 16 Jul 2024 16:00:00 +0000` — with the HTTP variant beside it, which is the same idea with different rules.

Questions people ask

The things that come up about rfc2822 converters, answered plainly.

Where is RFC 2822 used?

Email headers, mainly — the Date: field of every message — and in JavaScript, where `new Date().toString()` produces something close to it. RSS feeds use it too.

How is an HTTP date different?

HTTP fixes the format harder: always GMT, always a two-digit day, always the same abbreviations. `Tue, 16 Jul 2024 16:00:00 GMT`. RFC 2822 allows a numeric offset and more whitespace variation, which HTTP does not.

Related tools

Render an instant in any pattern or locale, and read one back out of text.

All 160 tools · More in formatting & parsing