Convert Unix timestamps to dates and dates to timestamps in any time zone, with seconds, milliseconds, microseconds and nanoseconds detected automatically.
Initializing in your browser…
Convert a time between any two cities or time zones, with daylight saving handled correctly, plus a live world clock and a meeting planner.
Convert length, weight, temperature, volume, data and 13 more categories as you type, with the exact factor and definition behind every result.
Convert colours between HEX, RGB, HSL, OKLCH, Lab and five more formats, check WCAG contrast, and preview colour-blind vision.
A webhook payload says "created": 1718900000123, and a colleague in Berlin wants to know when that was on their clock.
Unix timestamp, zone Europe/Berlin
1718900000123
Result
Read as milliseconds Europe/Berlin 2024-06-20 18:13:20, Thursday, UTC+02:00 CEST ISO 8601 2024-06-20T18:13:20.123+02:00 ISO 8601 UTC 2024-06-20T16:13:20.123Z HTTP date Thu, 20 Jun 2024 16:13:20 GMT Seconds 1718900000
Thirteen digits is far too large to be seconds: read that way, the value would land in the year 56439. As milliseconds it falls on 20 June 2024, the only reading between 1990 and 2100, so that is the one chosen. Berlin was on Central European Summer Time that day, two hours ahead of UTC, which turns 16:13:20 UTC into 18:13:20 local time. The HTTP date drops the .123 because that format carries whole seconds only, and the seconds value is the same instant rounded down.
Turn a Unix timestamp into a readable date in any time zone, or a date and time into a timestamp. Seconds, milliseconds, microseconds and nanoseconds are all understood, decimal seconds included, and every result can be copied as ISO 8601, an HTTP date, seconds or milliseconds with one click.
Unix time counts the seconds since 00:00:00 UTC on 1 January 1970. Because it is anchored to UTC, the same number means the same moment everywhere; the time zone only decides how that moment is written on a local clock. The timestamp 1700000000, for example, is 22:13:20 UTC on 14 November 2023, which was 14:13:20 in Los Angeles and 07:13:20 the next morning in Tokyo.
Nothing in the number says which unit it uses. Classic Unix tools and most databases count seconds, JavaScript and Java count milliseconds, and tracing tools and Go often use microseconds or nanoseconds. Counting digits is the usual shortcut, and it fails at the edges. This converter looks at the size of the number instead and picks the reading that gives a date between 1990 and 2100, then 1900 to 2200 if none does, so 500000000000 is read as milliseconds in November 1985 rather than as seconds in the year 17814. The result says which unit was chosen, More details lists what the number would mean in the other three, and the unit buttons override the guess whenever you know better. Decimal seconds such as 1704067200.5, the shape Python's time.time() prints, work too.
Offsets and abbreviations come from the time zone database built into your browser, for the exact moment being converted, so historical changes are respected: Moscow was UTC+4 in July 2010 and UTC+3 in July 2016, and New York shows EST in January and EDT in July. Going from a date to a timestamp, daylight saving gets special care. A time inside the spring-forward gap, such as 02:30 on 8 March 2026 in New York, never happens; the tool says so and uses 03:30, where the clock lands. A time in the autumn overlap, such as 01:30 on 1 November 2026, happens twice, and both timestamps are shown.
A few limits are worth knowing. A signed 32-bit time_t ends at 2147483647, which is 03:14:07 UTC on 19 January 2038, and the tool warns when a value is past it or before its negative limit in December 1901. Negative timestamps for dates before 1970 convert normally, with a reminder that some software rejects them. JavaScript dates reach about 275,760 years either side of 1970, and anything further out is refused with an explanation rather than shown as an invalid date. Microsecond and nanosecond input keeps every digit in its readouts instead of being rounded to the millisecond.
The date side also reads a date pasted as text. ISO 8601 with Z or an offset is exact; an ISO date and time without an offset is read as a wall clock in the selected zone; a bare date means midnight UTC, as the JavaScript standard specifies; and RFC 2822 dates with a zone such as GMT or EST are read as written. Other shapes, like 03/04/2024, are refused rather than guessed, because browsers disagree about what they mean.
Paste an epoch value from a server log or a database row and read it in the zone your team works in rather than doing the UTC arithmetic in your head.
An endpoint returns 1718900000123 and the documentation does not say which unit it is. The tool reads it as milliseconds on 20 June 2024 and shows that as seconds it would be tens of thousands of years away.
Turn 09:00 on a given day in Chicago into the exact epoch seconds a cron service or a database column needs, with daylight saving taken into account.
Enter dates after January 2038 to see which values no longer fit a signed 32-bit field, a common check for embedded systems and old database schemas.
The number of seconds that have passed since 00:00:00 UTC on 1 January 1970, also called epoch time. It is the same everywhere in the world at a given moment, which makes it a convenient way for computers to store and exchange times.
It tries all four units and picks the one that gives a date between 1990 and 2100, widening to 1900 to 2200 if none does. A ten-digit number today is seconds and a thirteen-digit one is milliseconds, but the size check also handles older and newer dates where digit counting breaks down. You can always choose the unit yourself.
Almost always a time zone. Midnight UTC is still the previous evening in the Americas, so a timestamp for 1 January 00:00 UTC shows as 31 December there. Set the zone to UTC to see the instant as stored, or to the zone of the people reading it.
When clocks spring forward, the skipped hour does not exist, so the tool tells you and uses the time the clock jumps to. When clocks fall back, an hour happens twice, and the tool shows both timestamps so you can pick the one you mean.
Systems that store Unix time in a signed 32-bit integer can only count to 2147483647, which is 03:14:07 UTC on 19 January 2038. One second later the value wraps to a negative number and reads as December 1901. The tool flags any timestamp past that limit.
No. Unix time treats every day as exactly 86,400 seconds, so a timestamp converts cleanly to a UTC clock reading, but the difference between two timestamps ignores any leap seconds inserted in between.
Yes. Earlier dates have negative timestamps, so -2208988800 is 1 January 1900. They are converted normally, with a note that some programs and databases do not accept negative values.
Conversions run on your device in JavaScript. The values you enter are never sent over the network.