ISO 8601 date and time
ISO 8601 is the international standard for writing dates and times: year first, then month and day, then the time, as in 2026-11-15T14:30:05Z. The top of this page shows the current date and time in that format, in your time zone and in UTC, live. The converters read any ISO 8601 string, including week dates, ordinal dates and durations, and write one from a date you pick.
Current time, ISO 8601
Local time with its UTC offset, UTC with a Z, and today's date as a calendar date, a week date and an ordinal date.
Reads every form
Calendar, ordinal and week dates, basic or extended, with a Z or an offset, and durations such as PT1H30M.
Writes it back
Pick a date and time and copy the ISO string, local or UTC, with the week date and Unix time beside it.
The ISO 8601 date format
ISO 8601 orders a date from the largest unit to the smallest: year, month, day. Each part has a fixed width, with zeros filling short numbers, and the parts are joined with hyphens. This is the extended format. The basic format leaves out the separators, and a string in one format cannot mix the two. Because the largest unit comes first, ISO dates sort in date order as plain text, which is why file names, logs and databases use them. The standard is published in two parts, ISO 8601-1:2019 for the basic rules and ISO 8601-2:2019 for extensions.
| Form | Extended | Basic |
|---|---|---|
| Calendar date | 2026-11-15 | 20261115 |
| Year and month | 2026-11 | not allowed |
| Ordinal date (day of the year) | 2026-319 | 2026319 |
| Week date | 2026-W46-7 | 2026W467 |
| Time | 14:30:05 | 143005 |
| Time with fraction | 14:30:05.250 | 143005.250 |
| Date and time in UTC | 2026-11-15T14:30:05Z | 20261115T143005Z |
| With an offset | 2026-11-15T09:30:05-05:00 | 20261115T093005-0500 |
All the rows above are the same day, Sunday, November 15, 2026. The year and month alone is written with a hyphen, 2026-11, because 202611 could be read as a year and a day count.
ISO 8601 examples: time, UTC and offsets
The time follows the date after a capital T, in 24-hour time: hours, minutes, seconds, and optionally a decimal fraction of the seconds. Without anything after it, a time is local time and means different moments in different places. Two endings fix that. A Z means the time is in UTC, the zero offset, so 2026-11-15T14:30:05Z is the same instant everywhere (see Zulu time). An offset such as +05:30 or -05:00 says how far the local time is ahead of or behind UTC: subtract it from the local time to get UTC. The same instant can be written in any zone:
| Place | ISO 8601 |
|---|---|
| UTC | 2026-11-15T14:30:05Z |
| New York, EST | 2026-11-15T09:30:05-05:00 |
| Los Angeles, PST | 2026-11-15T06:30:05-08:00 |
| Mumbai, IST | 2026-11-15T20:00:05+05:30 |
| Tokyo, JST | 2026-11-15T23:30:05+09:00 |
An offset is not a time zone: it does not say where the time is, or when daylight saving time starts. To compare an ISO time with a Unix timestamp, use the epoch converter.
ISO week dates and ordinal dates
A week date names a day by its ISO week-year, week number and weekday: 2026-W46-7 is day 7 (Sunday) of week 46 of 2026. Weeks start on Monday, which is day 1, and week 1 is the week that has the year's first Thursday, which is the same as the week containing January 4. That means a year has 52 or 53 weeks, and the first days of January can belong to week 52 or 53 of the previous year. 2020, 2026, 2032 are 53-week years, and 2026 has 53 weeks. For the week of any date or year, see the week number page, which also covers the ISO week number in more detail.
An ordinal date counts the days of the year from 001: 2026-319 is the 319th day of 2026. In a leap year the last day is 366. The Julian date page shows today's day of the year and the astronomers' Julian day, which are different numbers from ISO ordinals.
Durations and intervals
A duration begins with P and lists the amount of each unit, years, months, weeks and days before a T, then hours, minutes and seconds after it. The T is what separates months from minutes: P1M is a month and PT1M is a minute.
| Duration | Meaning |
|---|---|
PT1H30M | 1 hour 30 minutes |
PT45S | 45 seconds |
P3D | 3 days |
P2W | 2 weeks |
P1Y2M10DT2H30M | 1 year, 2 months, 10 days, 2 hours, 30 minutes |
An interval joins two points with a slash: 2026-11-15/2026-11-20. It can also join a start and a duration, 2026-11-15T09:00Z/PT1H30M. Paste a duration into the converter to see it in words, and in seconds when it has no years or months, which have no fixed length.
ISO 8601 in code
Most languages write and read it directly. In JavaScript, new Date().toISOString() returns the UTC form with milliseconds, such as 2026-11-15T14:30:05.250Z. In Python, datetime.now().astimezone().isoformat() returns local time with the offset, and datetime.fromisoformat() reads it back. In a Unix shell, date -u +%Y-%m-%dT%H:%M:%SZ prints UTC. JSON has no date type, so APIs pass dates as ISO strings, usually in the stricter RFC 3339 profile that requires a full date, a time and an offset.
A common mistake is a date and time with no offset. 2026-11-15T14:30:05 parses as local time in some languages and as UTC in others, so store and send the Z or the offset.
How to use it
- Read the live time at the top: local with your offset, and UTC with a Z. Press Copy to take either.
- Paste an ISO string into the first box: a date, a date and time, a week date, an ordinal date or a duration.
- Or pick a date and time in the second box, and tick UTC if it is a UTC time.
- Copy the result you need: the ISO string, the week date or the Unix time.
Questions
What is the ISO 8601 date format?
Year, month and day from largest to smallest, with four-digit year and two-digit month and day, joined by hyphens: YYYY-MM-DD, as in 2026-11-15. The compact form without hyphens, 20261115, is also valid.
What does the T mean in an ISO 8601 date?
It separates the date from the time: 2026-11-15T14:30:05. It stands for time and is always written as a capital letter.
What does Z mean at the end of an ISO 8601 time?
Z means zero offset: the time is in UTC. 2026-11-15T14:30:05Z is the same moment as 2026-11-15T09:30:05-05:00. The letter is also why UTC is called Zulu time.
How do I write a time zone offset?
Add + or - and the hours and minutes after the time: +05:30 for India, -05:00 for US Eastern Standard Time. The offset is how far the local time is ahead of (+) or behind (-) UTC.
How do I write the current date in ISO 8601?
The current date and time are at the top of the page with your offset, and in UTC. In JavaScript, new Date().toISOString() gives the UTC form. In Python, datetime.now().astimezone().isoformat() gives the local form with the offset.
What is an ISO week number?
Weeks run Monday to Sunday and week 1 is the week with the year's first Thursday, which is the week containing January 4. A year has 52 or 53 weeks: 2020, 2026, 2032 have 53. November 15, 2026 is 2026-W46-7. The week number page lists the weeks of any year.
Is ISO 8601 the same as RFC 3339?
RFC 3339 is a stricter profile of it for the internet. It requires a full date, a time and an offset, and lets a space replace the T. Every RFC 3339 timestamp is valid ISO 8601, but not the other way round.
What is PT1H30M?
A duration: one hour and thirty minutes. P starts every duration, the part after T is time, and the letters H, M and S are hours, minutes and seconds. PT1M is one minute, but P1M is one month.