Convert a Unix timestamp into a readable date and time in any timezone, together with the matching UTC value in ISO 8601 format. The conversion happens in your browser.
Good to know
A Unix timestamp is the number of seconds since 00:00:00 UTC on 1 January 1970. It identifies one exact moment independent of the time zone, so it is a common way for systems to exchange times.
Some systems count seconds (10 digits today) and others milliseconds (13 digits). Converting a value with the wrong unit gives a date in 1970 or one very far in the future.
When to use it
- Reading a timestamp from a log, a database or a JWT claim as a human date.
- Finding out what time an event happened in another time zone.
- Getting the current timestamp for a test or a script.
Example: A timestamp in seconds
Result
2023-11-14T22:13:20Z (UTC)
2023-11-15 05:13:20 in Vietnam (UTC+7)
Common mistakes
- Mixing up seconds and milliseconds, a difference of a factor of 1,000.
- Parsing a date text without a time zone, which different systems read in different ways.
- Using a fixed offset instead of a named time zone in places that observe daylight saving time.
Frequently asked questions
- How do I know if my number is in seconds or milliseconds?
- A timestamp in seconds usually has 10 digits (for example 1700000000) and one in milliseconds has 13 digits (1700000000000). Choose the matching unit before you convert.
- Why does my date show 1970 or a far-away year?
- The unit is probably wrong. A value in milliseconds read as seconds gives a date thousands of years away, and a value in seconds read as milliseconds gives a date in January 1970.
- What is a Unix timestamp?
- It is the number of seconds since 1 January 1970 at 00:00:00 UTC. The same number is the same moment everywhere, and only the displayed local time changes with the time zone.
- Does it handle daylight saving time?
- Yes. The conversion uses the time zone data built into your browser, which includes daylight saving rules.
- Where does the list of time zones come from?
- From your browser. UTC is added at the top, and your own time zone is detected automatically.
- What is the UTC (ISO 8601) value?
- It is the same moment written in the standard international format, for example 2023-11-14T22:13:20.000Z.
Related searches: convert epoch milliseconds to date online · unix timestamp to human readable date with timezone · convert time between time zones · utc iso 8601 converter
Tìm kiếm liên quan: đổi unix timestamp sang ngày giờ theo múi giờ · công cụ chuyển đổi epoch time online · đổi timestamp mili giây sang ngày · lấy timestamp hiện tại