Date Format Converter (ISO 8601 / US / EU / JP / Unix)
Pick a date and time (interpreted as UTC) — this tool shows the same instant in the dozen-plus formats engineers, journalists and admins reach for every day: ISO 8601, RFC 2822 (HTTP / email headers), US MM/DD/YYYY, EU DD/MM/YYYY, German DD.MM.YYYY, Japanese YYYY年M月D日, Unix seconds / milliseconds, ISO ordinal date, ISO week date, calendar quarter and the weekday / month names.
Enter a valid date and time (for example 2026-05-17T14:30:00).
Standard (ISO / RFC)
- ISO 8601 date
- —
- ISO 8601 date + time (UTC)
- —
- RFC 2822 / 1123 (HTTP)
- —
Regional formats
- US MM/DD/YYYY
- —
- US long form
- —
- EU DD/MM/YYYY
- —
- German DD.MM.YYYY
- —
- Japanese YYYY年M月D日
- —
Unix timestamp
- Unix seconds
- —
- Unix milliseconds
- —
Calendar info
- Day of year
- —
- ISO ordinal date
- —
- ISO week date
- —
- Quarter
- —
- Weekday
- —
- Month
- —
Formula
ISO 8601 date = YYYY-MM-DD ISO 8601 date + time = YYYY-MM-DDTHH:MM:SSZ RFC 2822 / 1123 = "ddd, DD Mon YYYY HH:MM:SS GMT" US / EU / German = MM/DD/YYYY / DD/MM/YYYY / DD.MM.YYYY Japanese = YYYY年M月D日 Unix seconds = floor( (t − 1970-01-01T00:00:00Z) / 1000 ) Ordinal date (RFC 3339) = YYYY-DDD (DDD = day-of-year) ISO week date = YYYY-Www-D (D: 1=Mon … 7=Sun; W01 contains the year's first Thursday)
- · ISO 8601 (the international standard) is the safest cross-platform, cross-locale notation: YYYY-MM-DD can never be confused for day-month order. RFC 3339 is a common subset of ISO 8601 widely used on the internet (JSON APIs, log lines, HTTP headers).
- · RFC 2822 / RFC 1123 is the standard format for the HTTP `Date` header, email `Date` header and HTTP cookie `Expires=` values — always in GMT.
- · US MM/DD/YYYY and EU DD/MM/YYYY look identical at a glance but mean opposite things — 03/04/2026 is March 4 in the US and 4 March in Europe. For anything formal, switch to ISO 8601 or to a written month abbreviation.
- · Unix time is defined as the number of seconds since 1970-01-01T00:00:00Z (POSIX time). Systems using a 32-bit `time_t` overflow at 2038-01-19T03:14:07Z (the Year 2038 problem) — modern systems use 64-bit, and this tool just uses the full JavaScript Date range (±100,000,000 days from the epoch).
- · ISO week dates (ISO 8601 §3.1.5): W01 is the week that contains the year's first Thursday. So 2005-01-01 (Saturday) belongs to 2004-W53 and 2007-12-31 (Monday) belongs to 2008-W01 — those cross-year weeks are a frequent source of reporting bugs.
- · Ordinal date (also called day-of-year): January 1 = 001; December 31 = 365 in common years and 366 in leap years (including the year 2000, which qualifies via the 400-year rule).
- · This tool interprets every entry as UTC. For time-zone conversions, use the Unix Timestamp Calculator instead.
Frequently asked
What is the difference between ISO 8601, RFC 3339 and RFC 2822?
ISO 8601 (ISO, first published 1988) is the broad international standard defining the largest family of date-time variants (including "2026-W20-7", "2026-137", "20260517T143000Z" and many more). RFC 3339 (IETF, 2002) is a strict subset of ISO 8601 tuned for internet protocols — four-digit year, dashes, optional fractional seconds, mandatory timezone — i.e. the "2026-05-17T14:30:00Z" form used by JSON APIs, Kubernetes, Prometheus, PostgreSQL and most modern tooling. RFC 2822 / RFC 1123 (the former updated in 2001) is the unrelated email format "Sun, 17 May 2026 14:30:00 GMT", still the required form for the HTTP `Date:` header, cookie `Expires=` values and SMTP headers.
Why does January 1 sometimes show an ISO week number from the previous year?
ISO 8601 defines W01 as the week that contains the year's first Thursday. If January 1 is a Friday, Saturday or Sunday (meaning the first Thursday is still in the previous calendar year), the whole week belongs to the previous year's last ISO week (W52 or W53). Classic examples: 2005-01-01 (Saturday) → 2004-W53; 2010-01-01 (Friday) → 2009-W53; 2023-01-01 (Sunday) → 2022-W52. The same thing happens in reverse at year-end (e.g. 2007-12-31 → 2008-W01). This mismatch between "ISO week year" and "calendar year" is a frequent bug in reporting SQL like PostgreSQL's `EXTRACT(WEEK FROM ...)` or Spark's `weekofyear()` — handle with care.
How wide is the Unix timestamp range — does the Year 2038 problem affect this tool?
The Year 2038 problem affects only C / Unix programs that use a 32-bit signed `time_t`: their seconds-since-1970 counter overflows to a negative number at 2,147,483,647 (2038-01-19T03:14:07Z). This tool uses the JavaScript Date type, which is internally a 64-bit float covering ±100,000,000 days (about ±273,790 years) — from roughly 271820 BCE to 275760 CE, far beyond the 32-bit horizon. If you maintain embedded or legacy IoT systems, upgrade to a 64-bit `time_t` (or store dates as ISO 8601 strings) before 2038.
Can I use this tool to convert between time zones, e.g. UTC ↔ HKT?
This tool always treats the input as UTC and every format below is the same UTC instant — by design, it does not perform time-zone conversion. Time-zone rules (especially DST) change often (Brazil, Iran and North Korea have all changed theirs in recent years), so mixing them into a generic UI is error-prone. For UTC ↔ HKT specifically, use the Unix Timestamp Calculator (/date/unix-timestamp/), which displays both UTC ISO and HKT ISO side by side (HKT has been a fixed UTC+08:00 with no DST since 1979). For arbitrary zones, use a zoned-aware library such as the Temporal API, Joda-Time or `zoneinfo`.
Related tools
Age Calculator
From your date of birth, get exact age, Chinese nominal age (虛歲), days lived and days to next birthday.
Date Difference Calculator
Enter any two dates to get the calendar gap, working days, weekend days, plus year/month/day breakdown and total weeks/months.
Time Zone Converter
Pick your local and target cities to convert a given clock time across time zones.
Date Add / Subtract Calculator
Add or subtract years, months, weeks and days from a start date to get the resulting date and weekday.
Business Days Calculator
Count the working days between two dates (excluding weekends) — or add N business days to a start date to find the deadline.
Pregnancy Due Date Calculator
Estimate the due date from your last menstrual period (LMP) using Naegele's rule, plus current gestational week, trimester and key pregnancy milestones.
Time Card Calculator (clock-in / clock-out / break)
Enter clock-in/clock-out times and break minutes to get total hours worked and gross pay — overnight (graveyard) shifts handled automatically.
Day of Year & Week Number Calculator
Pick any date to see which day of the year (1–366), ISO 8601 week number, weekday, and how many days from the start and end of the year.
Day of the Week Calculator (Any Date)
Enter any Gregorian date (past or future) to instantly find the day of the week — useful for birthdays, anniversaries and historical events.
Unix Timestamp ↔ Date Converter
Convert a Unix timestamp (seconds or milliseconds since 1970-01-01 UTC) to UTC, Hong Kong time and RFC 1123 HTTP date — and back. Built for debugging log files, API responses and database fields.
Easter Date Calculator
Pick a year and the Computus algorithm returns Easter Sunday plus Ash Wednesday, Palm Sunday and Good Friday.
Moon Phase Calculator
Enter any date to compute the lunar phase (new, first quarter, full, last quarter …), moon age in days and illuminated fraction.
Chinese Zodiac & Lunar Age Calculator
Find your Chinese zodiac animal, stem-branch element, zodiac year and lunar (nominal) age from any birth date.
Western Zodiac Sign Calculator
Enter your birth date to see your Western zodiac sign (Aries, Taurus, Gemini…) along with its element, modality and opposing sign.
Birthstone Calculator
Pick a birth month to instantly see the modern and traditional birthstones, the birth flower, the spanning zodiac signs and a colour swatch — handy when choosing jewellery or birthday gifts.
Julian Day Number Calculator
Convert a Gregorian calendar date to its Julian Day Number (JDN) and Modified Julian Day (MJD) — used in astronomy, history, and cross-calendar date math.
ISO 8601 Week Number Calculator
Enter any date and compute its ISO 8601 week number, ISO year and weekday — using the Monday-first / first-week-contains-Jan-4 rule.
Time Between Two Times Calculator
Enter two clock times (HH:MM[:SS]) and instantly see the difference in hours, minutes and seconds — with overnight-shift handling and decimal-hour output.
Hong Kong Statutory Annual Leave Calculator
Enter years of service and see the statutory paid annual leave entitlement under the HK Employment Ordinance §41AA.
Half-Birthday Calculator
Enter your date of birth to see when your next half-birthday falls, how many days away it is, and your current half-age (e.g. 33.5 years).
Daylight Hours (Sunrise / Sunset) Calculator
Enter a latitude, longitude and date to get the local sunrise, sunset, solar noon and total daylight hours using the NOAA solar position formula.
Countdown to Date Calculator
Enter a target date and get an instant breakdown of days, weeks, months, hours and minutes remaining — or elapsed for past dates.
Jet Lag Recovery Time Calculator
Enter the number of time zones crossed and direction of travel (eastward or westward) to estimate how many days you typically need to fully adjust to the destination, based on sleep-medicine rules of thumb.
Decimal Hours ↔ HH:MM:SS Converter
Convert between HH:MM:SS and decimal hours both ways — built for payroll, timesheets and lab notebooks.
Generation Calculator (Birth Year)
Enter a birth year to classify yourself by the Pew Research generation cohorts — Greatest, Silent, Boomer, Gen X, Millennial, Gen Z, Gen Alpha or Gen Beta.
Time Adder & Subtractor (HH:MM:SS)
Add or subtract any number of HH:MM:SS durations with automatic carry — handy for totalling video lengths, training sessions or race splits.
Year / Quarter / Month / Week Progress Calculator
Pick any date to see what percentage of the year, quarter, month and week has elapsed and how many days remain — handy for yearly goals, OKR check-ins and progress reports.