1618.dev

small tools, one committed a day

Unix timestamp converter

Turn a Unix timestamp (epoch) into a human date, or a date back into a timestamp — both ways. Paste any number and it auto-detects seconds, milliseconds, microseconds or nanoseconds. Everything runs in your browser.

Current Unix time · ms

Timestamp → date

Date → timestamp

About Unix time

A Unix timestamp is the number of seconds since the epoch — 1970-01-01 00:00:00 UTC — not counting leap seconds. It's timezone-free: one instant is one number everywhere on Earth, and a timezone is only applied when you render it as a wall-clock date. Many systems store more precision, so the same instant shows up as ~10 digits in seconds, 13 in milliseconds (JavaScript's Date.now()), 16 in microseconds, or 19 in nanoseconds — this tool detects which from the magnitude.

Local conversions use your browser's own timezone (with daylight-saving rules for the target date); switch either box to UTC to work in the raw epoch zone. Click any monospace value to copy it.