Timestamp / Epoch Converter

Epoch to date

Enter a Unix timestamp — the date updates as you type. "Local" below means your own browser/OS timezone: this tool carries no bundled timezone database, so it can only show the zone the machine reading this page is already set to.

Date to epoch

Pick a date and time — the epoch value updates as you go.

How it works

A Unix timestamp counts elapsed time since 1970-01-01T00:00:00 UTC — the "epoch" — either in whole seconds (the traditional Unix convention) or milliseconds (what JavaScript's own Date.now() returns). Pick the unit that matches where the number came from.

The date/time picker above is read in your browser's own local timezone, then converted to the epoch value — there is no way for a page running purely in your browser to know a timezone you have not told it, so the "local" readouts on this page are only ever as accurate as your device's own clock and timezone setting.