Unix Timestamp Converter

Convert Unix timestamps to dates and dates to timestamps.

About this tool

A Unix timestamp counts the seconds since January 1, 1970 at 00:00 UTC. Programs, databases and logs use it because it is one simple number that means the same thing in every time zone. People cannot read it easily, so this tool converts between timestamps and dates.

Timestamp to date

Enter a timestamp. The tool shows the date and time in UTC and in your own time zone. Values with 10 digits are read as seconds, which is the standard form. Values with 13 digits are read as milliseconds, which JavaScript and many APIs use. Press Now to fill in the current time.

Date to timestamp

Choose a date and time in the second field. It is read in your local time zone, and the matching timestamp in seconds appears. This is useful for setting an expiry time, scheduling a job or comparing two events.

Example

The timestamp 1700000000 is November 14, 2023 at 22:13:20 UTC. A timestamp of 0 is the start of 1970. Negative numbers are dates before 1970.

Time zones and daylight saving

A timestamp itself has no time zone. The same number shows different clock times in Cairo, London and New York, but it is the same moment. When you convert a local date to a timestamp, daylight saving rules of your device are used, so a time that does not exist during a clock change may shift by an hour.

The year 2038 problem

Old systems that store timestamps in a signed 32-bit number will run out of range on January 19, 2038. Modern systems use 64-bit numbers, which last for billions of years. If you work with older software, check how it stores time.

Debugging tips

If a date appears as 1970, the value is probably zero or in seconds when milliseconds were expected. If a date is far in the future, you may have used milliseconds where seconds were needed.

Privacy

All conversions use your browser's clock and settings. Nothing is sent to a server.

Frequently asked questions

Is the unix timestamp converter free to use?

Yes. The unix timestamp converter on QuickKit is free, needs no signup and has no usage limit.

Is my data safe when I use the unix timestamp converter?

Yes. The unix timestamp converter runs in your browser. What you enter is processed on your device and is not uploaded to a server.

Does the unix timestamp converter work on a phone?

Yes. The page is built to work on phones, tablets and desktop browsers without installing anything.

More free tools