Unix timestamp converter

How to use

Paste a Unix timestamp or an ISO 8601 date, or pick a local date and time. Seconds and milliseconds are auto-detected: a number whose absolute value is 100,000,000,000 (1011) or more is milliseconds; anything smaller is seconds. That cutoff is 1973-03-03 09:46:40 UTC as milliseconds, or year 5138 as seconds. Negative and pre-1970 values work. Nothing is stored or sent anywhere.

Or convert from a local date and time

About

Auto-detect uses a fixed threshold of 1011 on the absolute value. 13-digit instants such as 1700000000000 are milliseconds. 10-digit instants such as 1700000000 are seconds. Times before 1973-03-03 that are already in milliseconds fall below the cutoff and are treated as seconds, which is the trade-off of a single numeric rule. Relative phrases use whole seconds, then minutes, hours, days, weeks, 30-day months and 365-day years. The local column uses your browser's time zone.