How to use the Unix timestamp converter
One box handles both directions, and the result updates as you type.
- Look at the Current Unix time banner at the top. It counts up every second, and clicking it drops the current value into the input.
- Paste a timestamp, or a date such as
2024-05-01 14:30, into the input box. - Leave Timestamp unit on Auto detect, or force Seconds or Milliseconds. Auto reads any number of 100,000,000,000 or more as milliseconds, and anything smaller as seconds.
- Read the Converted block: Local time, UTC, ISO 8601, Unix seconds, Unix millis, Relative, Day of week, Day of year and your time zone with its offset.
- Read the line under the output, which tells you how the input was interpreted.
The example 1700000000 gives 2023-11-14T22:13:20.000Z and a UTC line of Tue, 14 Nov 2023 22:13:20 GMT. The same instant as 1700000000000 is read as milliseconds and gives an identical result. Everything runs in the page, so values from your logs stay on your device.
Typical uses are reading a created_at column in a database export, checking when a session or cache entry expires, working out what a log line from a server in another zone really says, and producing a timestamp for a test fixture by typing the date you want.