Unix Timestamp Converter
Epoch time and calendar dates converted both ways — with seconds and milliseconds worked out for you.
How to use
- Read the current timestamp —— The top panel updates every second with the live seconds and milliseconds value — copy either directly.
- Timestamp to date —— Paste a timestamp; it works out seconds from milliseconds and shows local time, UTC time and the weekday.
- Date to timestamp —— Pick a date and time and get the matching seconds and milliseconds values immediately.
About Unix Timestamp Converter
A Unix timestamp is the number of seconds elapsed since 00:00:00 UTC on 1 January 1970. It is the most portable way to record a moment in time because it is timezone-independent: the same instant has the same number everywhere, and only the display changes with the reader’s timezone.
The trap that catches almost everybody: JavaScript counts in milliseconds, while PHP and Python count in seconds — a factor of 1000. A timestamp that shows a date in 1970 is almost always a seconds value being read as milliseconds, and one that overshoots into the far future is milliseconds being read as seconds. This tool works out which one you have by the number of digits.
FAQ
How can I tell seconds from milliseconds?
Ten digits means seconds, thirteen means milliseconds. This tool detects the length for you, so you do not have to choose.
Why is the converted time a few hours off from what I expected?
The timestamp itself is UTC. Converting it to local time applies your timezone offset, so the displayed clock time will differ from UTC by that amount.
Can it handle dates beyond 2038?
Yes. The 2038 problem affects 32-bit integers, but this tool relies on JavaScript double-precision numbers and handles dates far beyond that without issue.