How to convert a Unix timestamp
- Paste a timestamp — the tool auto-detects whether it is in seconds or milliseconds.
- Read the matching date and time in both your local time zone and UTC.
- To go the other way, enter a date and time and read the timestamp it produces.
- Use the live clock row to copy the current timestamp at any moment.
Frequently Asked Questions
Does it support seconds and milliseconds?
Yes, both 10-digit second and 13-digit millisecond timestamps are supported, with an auto-detect option.
Can I switch timezones?
Local time and UTC are supported; converting a date to a timestamp always uses the selected timezone.
Does the current time update in real time?
Yes. The clock at the top refreshes every second so you can grab the current timestamp directly.
Is any data uploaded?
No. All conversions are done locally in your browser.
Does it detect seconds or milliseconds automatically?
Yes. Values up to ten digits are read as seconds and longer ones as milliseconds, which covers both conventions without a manual toggle.
Why do local time and UTC differ?
A Unix timestamp is the same instant everywhere; the two readings simply express it in your local time zone and in UTC. Servers usually log in UTC.
What is the Unix epoch?
The reference point of timestamp zero: 1970-01-01 00:00:00 UTC. Every timestamp counts seconds or milliseconds elapsed since that moment.
Technical References
- Unix Timestamp — Wikipedia: https://zh.wikipedia.org/wiki/Unix%E6%97%B6%E9%97%B4%E6%88%B3