Unix Timestamp Converter
Turn a Unix timestamp (the number of seconds since 1 January 1970 UTC) into a readable date in UTC and in your own time zone, or convert a date into a timestamp. Seconds, milliseconds, microseconds and nanoseconds are all supported, and the unit can be detected from the number of digits.
Convert a Unix Timestamp
Result
How to Use the Unix Timestamp
- Choose Timestamp to date or Date to timestamp.
- Paste the timestamp, or enter a date and say whether it is UTC or local time.
- Read the ISO 8601, RFC 2822, UTC, local and relative forms, plus the timestamp in seconds and milliseconds.
- Use Use current time for the timestamp of this moment.
About This Tool
Developers reading logs, API responses and database fields, data analysts cleaning exports, and anyone puzzling over a long number in a spreadsheet.
Input: Unix timestamp or date · Output: Dates in UTC and local time, timestamps.
Features and Limitations
Features
- Seconds, milliseconds, microseconds and nanoseconds with automatic detection by digit count.
- Exact integer handling with BigInt, so 19-digit nanosecond values are not rounded.
- Shows ISO 8601, RFC 2822, local time with its offset, day of the week and a relative description.
- Converts dates entered in UTC or in your local zone.
Limitations
- Browsers represent dates between about the years −271821 and 275760; timestamps outside that range are rejected.
- Unix time ignores leap seconds, as do almost all computer systems, so it is not exact astronomical time.
- Automatic detection guesses from length: a seconds value with 13 digits (after the year 2286) would be read as milliseconds; choose the unit if in doubt.
- Results are computed in your browser; nothing you enter is sent to a server.
Example
1700000000 seconds = 2023-11-14T22:13:20Z (Tuesday). 1704067200000 ms = 2024-01-01T00:00:00Z. 0 = 1970-01-01T00:00:00Z, the Unix epoch.
Frequently Asked Questions
What is a Unix timestamp?
It counts the seconds that have passed since 00:00:00 UTC on 1 January 1970, not counting leap seconds. It is the same everywhere in the world at a given moment, which is why it is used to store times in software.
Seconds or milliseconds?
Unix and most databases use seconds (10 digits for current dates). JavaScript, Java and many APIs use milliseconds (13 digits). Microseconds (16 digits) and nanoseconds (19 digits) appear in logs and tracing systems.
What is the year 2038 problem?
Systems that store timestamps as signed 32-bit integers overflow at 2147483647, which is 03:14:07 UTC on 19 January 2038. Modern systems use 64-bit values and are not affected.
Why is the local time different from UTC?
The timestamp is the same moment for everyone; the local column shows it on the clock of your device's time zone, including any daylight saving offset for that date.
Related Tools
More like this: all Date & Time Converters tools, all Converters tools or the TinySandy home page.