Skip to content

Web

Unix timestamp converter

Read an epoch value as a UTC or local date, or turn a local date and time into Unix seconds and milliseconds.

Timestamp to date

Local date to timestamp

Unix timestamps count time from 1 January 1970 UTC. The date input uses your browser’s local time zone, including its daylight-saving rules. Check the selected seconds or milliseconds unit when pasting a value.

Example task

Convert a Unix timestamp from an application log into a readable date and time, checking whether the value is seconds or milliseconds.

How this works

Choose whether the pasted timestamp is in seconds or milliseconds. The tool shows an ISO 8601 UTC date and the date in your browser’s local time zone.

When converting a date back, the date input is interpreted in your browser’s local time zone. Daylight-saving transitions follow the browser’s time-zone data.

Conversion follows your browser's date and time-zone rules. Confirm ambiguous local times around daylight-saving changes.

Questions

What is a Unix timestamp?+

It counts time from 1 January 1970 UTC, commonly in seconds or milliseconds.

Why is my local time different from UTC?+

Your browser displays the same instant using your local time-zone offset.

How do I know if a value is milliseconds?+

Choose the unit used by your source. A typical current millisecond value has about three more digits than a seconds value.