HTTP Date Format Converter

HTTP servers and clients exchange dates in RFC 7231 / IMF-fixdate format: `Thu, 13 Aug 2026 14:30:00 GMT`. The same family covers Netscape cookie `Expires` dates (RFC 6265) and SMTP message dates (RFC 5322). All three are "RFC 822-style" dates but differ subtly in required zone and weekday handling.

This converter renders your date-time in the HTTP header form, the cookie expiry form (also used by `Expires` in Set-Cookie), and the SMTP date form, so you can paste the right string into any header.

Timezone:
Enter a date-time above to see the conversion results.

HTTP Date Format Converter Quick Reference

FormatPattern / DescriptionExample 1Example 2
HTTP / RFC 1123Web HeadersThu, 13 Aug 2026 14:30:00 GMTThu, 01 Jan 2026 00:00:00 GMT
Netscape CookieOld cookie formatThu, 13-Aug-2026 14:30:00 GMTThu, 01-Jan-2026 00:00:00 GMT
SMTP DateRFC 2822 MailThu, 13 Aug 2026 14:30:00 UTThu, 01 Jan 2026 00:00:00 UT

* Examples are rendered in UTC for the fixed sample instants above.

When to Use HTTP Date Format

HTTP response debugging

Verify `Date`, `Last-Modified`, `Expires` and `If-Modified-Since` headers are correctly formatted and GMT-based when testing CDNs and caches.

Cookie expiration

`Set-Cookie: ...; Expires=Thu, 13 Aug 2026 14:30:00 GMT` must use this exact format or browsers ignore the cookie. Generate the string for cookie jars and tests.

Email & newsgroup headers

SMTP `Date:` headers use the 822 family. Generate dates for mailers, list software and news feeds.

Frequently Asked Questions

What is the HTTP date format?

`EEE, dd MMM yyyy HH:mm:ss GMT`, e.g. Thu, 13 Aug 2026 14:30:00 GMT. HTTP/1.1 (RFC 7231) requires the IMF-fixdate form; GMT is mandatory.

What is the difference between HTTP date and RFC 2822?

Nearly identical, but HTTP requires GMT (numeric offsets are not allowed) and always includes the weekday. RFC 2822 (email) allows numeric offsets and makes the weekday optional.

Why must HTTP dates be in GMT?

Specifying a single zone makes header comparison trivial — caches and validators subtract dates without timezone conversion. Sending local time in a `Date` header is a spec violation.

What cookie date format do browsers accept?

Browsers parse the Netscape cookie spec date: `EEE, dd-MMM-yyyy HH:mm:ss GMT` (and relaxed variants). This converter outputs the canonical form that all major browsers accept.

Related Time Format Converters

All Format Guides

Need to Convert Between All Formats?

Use the main Time Format Converter for instant conversion across 100+ formats — epoch, ISO 8601, RFC 3339, SQL datetime, military time and more in one click.

Open Time Format Converter