Unix Timestamp Converter

Convert epoch seconds or milliseconds to a date, and a date back to a Unix timestamp.

Your local time
UTC
ISO 8601
Relative to now

What a Unix timestamp is

A Unix timestamp counts seconds since 1970-01-01 00:00:00 UTC. JavaScript's Date uses milliseconds, so a 13-digit value is usually milliseconds and a 10-digit value is seconds. The local time here follows your computer's timezone.

Frequently asked questions

Should I use seconds or milliseconds?

Unix time itself is seconds. Browsers, Java and many APIs store milliseconds. If the number has 13 digits, choose milliseconds.

Does this page send my timestamp anywhere?

No. The conversion runs entirely in your browser.