Skip to content

Timestamp Converter

Timestamp

e.g. 1700000000, 1700000000000, 2024-01-01 or 2024-01-01T12:00:00Z

Conversions

Unix seconds
—
Unix milliseconds
—
ISO 8601
—
UTC / GMT
—
Local date and time
—
Local date
—
Local time
—

About

A Unix timestamp is the number of seconds (or milliseconds) elapsed since 1 January 1970 00:00:00 UTC, known as the Unix epoch. It is the most common way to represent a point in time in APIs and databases.

How to use

  1. 1.

    Replace the current time in the field with a Unix timestamp or a date such as 2024-01-01T12:00 - every format under Conversions updates as you type

  2. 2.

    Check the note under the field to see which unit or time zone was assumed

  3. 3.

    Select Now to load the current moment again, or Clear to empty the field, and copy any format with the button beside it

Common uses

  • ▸

    Reading timestamps from API responses or log files

  • ▸

    Comparing event times across different systems or time zones

  • ▸

    Generating Unix timestamps for use in database queries or scripts

Frequently asked questions

Does this support milliseconds?

Yes. The unit is detected from the number of digits: up to 12 digits are read as seconds (values below one trillion), 13-15 as milliseconds, 16-18 as microseconds, and 19 or more as nanoseconds. Decimal values such as 1700000000.5 and negative values for dates before 1970 work too, and the note under the input shows which unit was assumed.


Is conversion affected by my timezone?

Unix timestamps are always UTC. Date strings without a time zone, such as 2024-01-01 or 2024-01-01T09:00, are read in your browser's local time zone; add Z or an offset like +02:00 to choose one. Results are shown in both UTC and your local time zone.


Is my data sent to a server?

All conversion runs in your browser using JavaScript's Date API. No data is transmitted anywhere.


Can I convert a date back to a timestamp?

Type a date or a date and time, for example 2024-01-01 or 2024-01-01T12:00:00Z, into the same input field. The Unix seconds and Unix milliseconds rows show the matching timestamps.