Skip to main content

Home Tools Unix Timestamp Converter

Unix Timestamp Converter

Convert Unix timestamps to dates or dates to Unix time. Inspect the current timestamp and view ISO, UTC, or browser-local date representations.

Unix timestamp converter
Current time
Loading…
–

Unix Timestamp Converter: Seconds and Milliseconds

How to use this tool

Enter a Unix timestamp or date using the page controls. Check whether a value is in seconds or milliseconds before comparing it with an API or database field.

Limits and safe use

The displayed calendar time can depend on the selected output/time-zone behavior. Unix timestamps represent elapsed time from the Unix epoch; they do not include a time-zone label by themselves.

Example: convert midnight in UTC

In Unix to Date mode, 1704067200 produces 2024-01-01T00:00:00.000Z. The millisecond value 1704067200000 produces the same instant. In Date to Unix mode, enter 2024-01-01T00:00:00Z to get those second and millisecond values.

This tool guesses units from input length: values longer than 10 characters are milliseconds; shorter values are seconds. It cannot distinguish every near-epoch millisecond value. Use an explicit timezone or UTC Z when entering dates, since local date-time inputs can depend on your browser's timezone. See MDN's Date reference.

Tool notes by DummyDetails. Reviewed . Report a correction.

More Free Tools

Most tool inputs are processed in this page. The site also uses analytics and third-party assets; see the Privacy Policy.