Unix Timestamp Converter
Convert Unix timestamps to dates and back. Detects seconds or milliseconds and shows ISO 8601, relative time and multiple time zones.
Current Unix timestamp
Timestamp to date
Shortcut: Ctrl/⌘ + Enter to use the current time
Other time zones
- Asia/Taipei
- Asia/Tokyo
- Europe/London
- America/New_York
Date to timestamp
You can add an offset, like 2023-11-15T06:13:20+08:00, or end with Z for UTC
How to use
- The current Unix timestamp (seconds and milliseconds) is shown live at the top. Click “Copy” to use it.
- Type a number into “Unix timestamp”. The tool detects seconds, milliseconds, microseconds or nanoseconds, or you can pick the unit yourself.
- You get local time, UTC, ISO 8601, RFC 2822 and relative time (like “3 days ago”), each with its own copy button.
- Add the time zones you use under “Other time zones” to see the same moment around the world. Your list is remembered.
- To turn a date into a timestamp, enter it under “Date to timestamp” and choose its time zone.
FAQ
What is a Unix timestamp?
It is the number of seconds since 00:00:00 UTC on January 1, 1970. It does not depend on time zones, so programs, databases and APIs use it to record time.
How do I know whether a timestamp is in seconds or milliseconds?
Today’s timestamp has 10 digits in seconds and 13 in milliseconds. The tool goes by length: up to 11 digits is seconds, 12–14 milliseconds, 15–17 microseconds and anything longer nanoseconds. If the guess is wrong, choose the unit yourself.
Why is local time different from UTC?
A timestamp has no time zone; one is only needed to show it as a date. New York, for example, is 5 hours behind UTC in winter, so its local time is 5 hours earlier.
What is the year 2038 problem?
Some older systems store timestamps as signed 32-bit integers, which run out at 03:14:07 UTC on January 19, 2038 (2147483647). This tool has no such limit and handles dates long before 1970 or long after 2038.
What if I enter a date without a time zone?
It is read in the zone chosen under “Time zone”, which defaults to your device’s. Around daylight saving changes, a repeated time uses its first occurrence and a skipped time moves forward.
Is anything I enter uploaded?
No. All conversions happen in your browser, and time zone data comes from the browser’s built-in Intl API.
Related tools
Date Difference
Count the days, weeks, months and years between two dates or times, plus weekdays. ROC (Minguo) dates work too.Time Zone Converter
Convert a time to cities around the world, with UTC offsets, daylight saving time and a 24-hour meeting planner.Date Add/Subtract
Add or subtract years, months, weeks, days or business days from a date, with the weekday, ROC date and month-end rules.