Loona Automation logoLoona Developer Tools
Home › Date & Time

Unix Timestamp to Date

In short: paste a Unix timestamp — seconds or milliseconds, detected automatically — and read it as UTC, local time and ISO format, plus how long ago it was.
🔒 Private by design: everything runs in your browser on this device. Your input is never uploaded to a server.

About

Unix time counts seconds (or milliseconds) since 1970-01-01 00:00:00 UTC — the epoch — ignoring leap seconds, which is why it converts cleanly in every language. The ten-digit vs thirteen-digit question (seconds vs milliseconds) is the classic integration bug: JavaScript's Date wants milliseconds, PHP's time() gives seconds, and a factor-of-1000 error lands your date in 1970 or the year 56000. This converter guesses by length (10 digits = seconds, 13 = milliseconds) and states its interpretation in the output, so the guess is always checkable. The companion Timestamp Converter on this site goes both ways with calendars; this page is the quick one-field lookup.

Frequently Asked Questions

How do I know if my timestamp is seconds or milliseconds?

Length: current timestamps are 10 digits in seconds, 13 in milliseconds. The output states which was assumed.

What is the 2038 problem?

32-bit signed Unix time overflows on 19 January 2038. 64-bit systems (and this converter, via JavaScript Dates) are unaffected.

Related Developer Tools

Embed this tool on your website — free

Add this tool to your own website or blog — it is completely free, needs no sign-up, and always shows the latest version. Copy the code below and paste it into your page where you want the tool to appear. Keeping the small “Powered by Loona Automation” credit line under the embed helps keep this tool free — but you are free to style or remove it; the tool works either way.