Timestamp Converter
About this tool
About Timestamp Converter
Turn the numbers in your logs, databases and API responses into readable dates, and turn dates back into numbers. Paste a Unix timestamp and the converter works out whether it is in seconds, milliseconds, microseconds or nanoseconds from its length, or you can set the unit yourself. It also reads ISO 8601 strings like 2024-05-01T12:00:00Z and RFC 2822 dates from email headers. Every result shows Unix seconds and milliseconds, ISO 8601 in UTC and in your chosen zone, RFC 2822, a readable date, how long ago or how far ahead it is, and the day of the year and ISO week. The Date to timestamp panel goes the other way for a date and time in any IANA zone, and warns when daylight saving makes a time skipped or repeated. A live clock at the top shows the current epoch in seconds and milliseconds. Your browser's time zone data does all of this.
Built and maintained by Abhi JainUpdated
How to Convert a Timestamp
- 1
Enter a timestamp or date
Type it into Unix timestamp or date, or click Now. Leave Unit on Auto or choose seconds, milliseconds, microseconds or nanoseconds.
- 2
Pick a time zone
Choose the Time zone for the local results. Your own zone is selected by default.
- 3
Convert a date back
In Date to timestamp, choose a Date, Time and In time zone to get Unix seconds and milliseconds. Copy any value with its button.
Timestamp Converter: questions and answers
What is a Unix timestamp?
It is the number of seconds since 00:00:00 UTC on 1 January 1970 (the Unix epoch), not counting leap seconds. It is the same everywhere in the world at a given moment, which is why systems store it instead of local times.
How do I tell seconds from milliseconds?
By length. A current timestamp in seconds has 10 digits (for example 1700000000), in milliseconds 13, in microseconds 16 and in nanoseconds 19. JavaScript's Date.now() returns milliseconds; most Unix tools and JWTs use seconds.
What happens in 2038?
Signed 32-bit timestamps run out at 03:14:07 UTC on 19 January 2038 (2147483647). Systems that still store time in 32 bits will wrap to 1901. 64-bit timestamps, used by modern systems and this converter, last for billions of years.
What is the difference between ISO 8601 and RFC 2822?
ISO 8601 (2024-05-01T17:30:00+05:30) is the standard for APIs and JSON because it sorts as text. RFC 2822 (Wed, 01 May 2024 17:30:00 +0530) is the format used in email headers and HTTP. Both carry the same instant.
Why does a time not exist on some days?
When clocks spring forward for daylight saving, an hour is skipped, so 02:30 on that day never happens in zones like New York. When clocks fall back, an hour happens twice. The converter tells you when either case applies.
Ready-made Timestamp Converter presets
Related Tools
- JWT DecoderDecode a JWT, read its claims in human time and verify the signature with a secret or public key.
- UUID GeneratorGenerate UUID v4 or time-ordered v7 in bulk, and validate or decode any UUID.
- Number Base ConverterConvert whole numbers between binary, octal, decimal, hex and any base 2–36, with two's complement.
- Time Zone ConverterConvert a time between any cities or IANA time zones, DST-correct, with a meeting planner.
- Date Difference CalculatorYears, months, weeks and days between two dates, with an option to include the end date.