RFC 2822 Date Converter
Build or parse RFC 2822 date strings, the timestamp format used in email headers and HTTP dates.
Direction
h
min
s
UTC offset
How does this calculator work?
RFC 2822 dates look like "Tue, 27 Jun 2026 14:30:00 +0000": weekday, day, month, year, time, then a signed UTC offset. This tool builds that string from a date, time, and offset, or parses an existing one, and also shows the matching ISO 8601, UTC, Unix-seconds, and weekday values.
Formula
How this is calculated
In Build mode you supply a calendar date (YYYY-MM-DD), a wall-clock time (hour, minute, second), and a UTC offset. The weekday is derived from the date and the time is treated as local to the chosen offset. The string is assembled as "Ddd, DD Mon YYYY HH:MM:SS +HHMM" using fixed three-letter weekday and month abbreviations, with the offset written as a signed four-digit +HHMM token.
The absolute instant is found by subtracting the offset from the supplied wall-clock time: UTC = local - offset. From that instant the calculator also reports ISO 8601 (always in UTC, ending in Z), the human-readable UTC date-time, the Unix epoch in seconds, and the full weekday name. In Parse mode it relies on JavaScript's native Date constructor, which understands RFC 2822, then reformats everything into UTC (+0000).
All components are validated: hour 0-23, minute and second 0-59, and impossible calendar dates such as 30 February are rejected. Offsets cover common zones from -12:00 to +14:00, including half-hour zones like +05:30. Unix seconds can be negative for dates before 1970-01-01.
Frequently asked questions
RFC 2822 uses English weekday and month abbreviations with a +HHMM offset (used in email and HTTP). ISO 8601 is all-numeric like 2026-06-27T14:30:00Z and is locale-independent, making it preferable for storage and APIs.
The time you enter is the local wall-clock time at the selected offset. The converter subtracts the offset to find the true UTC instant, so 14:30 at +05:30 corresponds to 09:00 UTC.
RFC 2822 (and later RFC 5322) updated RFC 822 but kept the same date layout. The four-digit numeric offset replaced the older named zones like GMT or EST, so this format is backward compatible for most parsers.
Also known as
TG we-Calculate Editorial Team. (2026). RFC 2822 Date Converter [Online calculator]. TG we-Calculate. https://we-calculate.com/calculator/rfc-2822-date-converter
TG we-Calculate Editorial Team. "RFC 2822 Date Converter." TG we-Calculate. 2026. https://we-calculate.com/calculator/rfc-2822-date-converter.
TG we-Calculate Editorial Team, "RFC 2822 Date Converter," TG we-Calculate, 2026. [Online]. Available: https://we-calculate.com/calculator/rfc-2822-date-converter
@misc{wecalculate_rfc_2822_date_converter, title = {RFC 2822 Date Converter}, author = {{TG we-Calculate Editorial Team}}, howpublished = {\url{https://we-calculate.com/calculator/rfc-2822-date-converter}}, year = {2026}, note = {TG we-Calculate} }
Did this calculator help you?
