Handy Web Tools

Free browser tools with no sign-up

FREE TOOL

Unix Timestamp Converter

Convert Unix timestamps to readable dates or turn local dates into seconds and milliseconds.

Loading tool…

About Unix Timestamp Converter

Convert Unix timestamps into readable UTC and local dates, or create Unix time from a local date. Seconds and milliseconds are detected automatically and both values are shown together.

How to use

  1. 1.Choose timestamp to date or date to timestamp.
  2. 2.Enter a Unix timestamp or local date and time.
  3. 3.Review and copy UTC, local time, seconds, or milliseconds.

Useful for

  • Reading timestamps in API responses and logs
  • Creating epoch values for databases
  • Checking whether a timestamp uses seconds or milliseconds

Verified examples and scope

These examples describe reproducible behavior in this tool. They are not a guarantee for inputs outside the documented scope.

Input or settingExpected resultCondition
01970-01-01T00:00:00.000Z, 0 seconds, and 0 millisecondsThe page also displays the device-local date and time.
100000000000Detected as millisecondsAbsolute values at or above 100,000,000,000 use milliseconds; smaller values use seconds.

Known limitations

  • Date input is interpreted in the browser device’s local time zone.
  • Dates outside JavaScript Date range and distinct leap-second representations are unsupported.

If the result is unexpected

  • If automatic unit detection is unexpected, check the input digits and the displayed detected unit.

How it works

The absolute numeric value selects seconds or milliseconds, then JavaScript Date performs the date conversion.

Dates and timestamps are converted in the browser.

Input examples

  • 1704067200 seconds → 2024-01-01T00:00:00.000Z
  • 1704067200000 milliseconds → the same date

Notes and limitations

  • Date input is interpreted in your device’s local time zone.
  • Seconds and milliseconds are detected automatically from the magnitude of the number.

Frequently asked questions

What is Unix time?

Unix time is a numeric count of time elapsed since January 1, 1970 at 00:00:00 UTC, commonly represented in seconds or milliseconds.

How are seconds and milliseconds detected?

The tool uses the magnitude of the input to detect the likely unit and displays the detected unit with the result.

Which time zone is used for date input?

Date input is interpreted in the local time zone configured in your browser or device. UTC is also displayed in the result.

Does Unix time include leap seconds?

Unix time normally does not count leap seconds separately. This tool follows the standard date behavior of your browser.