Unix Timestamp Converter is a free tool that turns Unix timestamps into readable dates and converts dates back into timestamps. It detects whether a timestamp is in seconds, milliseconds, microseconds or nanoseconds, and shows the result in your time zone, in UTC and in standard formats. It runs in your browser.
How to convert a timestamp
- Paste a timestamp such as
1790433000or1790433000000, or a date such as2026-09-26 14:30. - The date appears straight away in your local time, UTC, ISO 8601 and RFC 2822, together with the timestamp in seconds and milliseconds.
- Choose another time zone to see the same moment elsewhere.
Seconds or milliseconds?
- 10 digits (e.g.
1790433000): seconds, used by Unix, Linux, PHP, Python’stime.time()and most databases. - 13 digits (e.g.
1790433000000): milliseconds, used by JavaScript’sDate.now(), Java and many APIs. - 16 or 19 digits: microseconds or nanoseconds, used by some databases, logging systems and Go.
Formats explained
- ISO 8601 (
2026-09-26T14:30:00.000Z): the standard for APIs and JSON. The Z means UTC. - RFC 2822 (
Sat, 26 Sep 2026 14:30:00 +0000): used in email headers and RSS.
Getting the current timestamp in code
- JavaScript:
Math.floor(Date.now() / 1000) - Python:
int(time.time()) - Linux / macOS terminal:
date +%s - SQL (PostgreSQL):
extract(epoch from now())
Timestamps also appear inside login tokens: the JWT Decoder converts theirexp and iat values for you.
Frequently asked questions
What is a Unix timestamp?
The number of seconds since 1 January 1970 at 00:00 UTC, called the Unix epoch. Computers use it because it is one simple number, the same in every time zone.
Is my timestamp in seconds or milliseconds?
Timestamps for current dates have 10 digits in seconds and 13 in milliseconds (as used by JavaScript and Java). The converter detects this automatically, as well as microseconds (16 digits) and nanoseconds (19 digits).
What happens in 2038?
Systems that store timestamps as a 32-bit signed number overflow on 19 January 2038. Most modern systems use 64-bit numbers and are not affected.
Do timestamps include leap seconds?
No. Unix time ignores leap seconds, so every day is exactly 86,400 seconds long.
Last updated