Features
- Instant conversionNo button to press.
- UTC and localBoth are shown, with ISO 8601 and RFC 1123.
- Seconds or millisecondsThe unit is detected.
- Runs on your deviceYour data is processed in the browser and is never uploaded.
How to use the timestamp converter
- Enter a timestamp or an ISO 8601 date.
- The unit is detected from the size of the number.
- Copy the format you need.
Seconds or milliseconds
Current timestamps in seconds have 10 digits; in milliseconds they have 13. JavaScript uses milliseconds while many APIs use seconds.
Convert a timestamp to a date in JavaScript
const date = new Date(seconds * 1000); // use the value as is for milliseconds
date.toISOString(); // UTC
date.toString(); // local time
const now = Math.floor(Date.now() / 1000);
Frequently asked questions
What is the year 2038 problem?
Signed 32-bit seconds overflow on 19 January 2038.
Is a timestamp tied to a time zone?
No. It identifies an instant; time zones affect only how it is shown.
How do I enter a UTC date?
End it with Z, for example 2026-01-31T12:00:00Z.