What this timestamp converter does
Unix time counts seconds since 1 January 1970 00:00:00 UTC. It is how databases, logs, APIs and file systems store moments without worrying about time zones. This converter shows the current Unix time live, turns any timestamp in seconds or milliseconds into UTC, local, ISO 8601 and relative time, and converts a calendar date back into a timestamp.
How to use it
- Read or copy the current Unix time at the top, in seconds or milliseconds.
- Paste a timestamp into Timestamp → Date. Values with more than 11 digits are treated as milliseconds automatically.
- Copy whichever representation you need: UTC string, localised date, ISO 8601 or relative time.
- To go the other way, pick a date and time in Date → Timestamp; it is interpreted in your local time zone.
Practical examples
- Reading logs:
1760000000is 9 October 2025, 08:53:20 UTC. Converting it immediately shows whether an error happened before or after a deploy. - JavaScript vs. backend:
Date.now()returns milliseconds (13 digits) while most Unix tools and JWTs use seconds (10 digits). Mixing them up produces dates in 1970 or the year 57,000. - Scheduling: find the timestamp for next Monday 09:00 local time to set an expiry or a cron job.
- SQL queries: convert a date range into timestamps for a
WHERE created_at BETWEEN ...clause.
Tips and edge cases
- Unix time ignores leap seconds; every day is exactly 86,400 seconds.
- Signed 32-bit timestamps overflow on 19 January 2038 at 03:14:07 UTC. Use 64-bit integers in new systems.
- Negative timestamps represent dates before 1970 and are valid.
- ISO 8601 strings ending in
Zare UTC. Store and transmit UTC, and convert to local time only for display. - Daylight saving transitions mean some local times occur twice or not at all; timestamps avoid this ambiguity.