Skip to content

Epoch Converter

Convert a Unix timestamp in seconds or milliseconds to a readable UTC and local date. You can also turn a date and time into an epoch timestamp, with the source time zone kept explicit.

Interpreted as Unix seconds since January 1, 1970 at 00:00 UTC. Change the unit if the date looks wrong.

Is this timestamp seconds or milliseconds?

Unix time counts from January 1, 1970 at 00:00 UTC. A seconds value and a milliseconds value can describe the same instant: 1 second equals 1,000 milliseconds. Current timestamps commonly have 10 digits in seconds or 13 in milliseconds, but the length changes for dates farther from today. Use the unit selector to tell the epoch converter which value you have.

For example, 1700000000 seconds and 1700000000000 milliseconds both mean November 14, 2023 at 22:13:20 UTC. A negative timestamp is before the Unix epoch. Seconds can include up to three decimal places. Milliseconds use whole numbers.

One instant, different local dates

A Unix timestamp has no local time zone. Changing the display zone changes the clock and possibly the calendar date, while the timestamp stays the same. Read the local date and UTC offset together before copying a log time, deadline or event.

The ISO 8601 result ends in Z, meaning UTC. Copy seconds, milliseconds or ISO separately to match the system you are using. These calculations run in your browser and use its clock and time-zone rules.

Convert a date to a Unix timestamp

Switch to Date to timestamp, enter the local date and time, and select the zone where that clock time applies. You can include seconds and milliseconds. A repeated hour during a clock change needs an earlier or later choice. A skipped time needs a different local time.

For a meeting between two zones, use the time zone converter. For the name of the zone at your physical location, use my time zone.

Use it in your app.

Read an instant in UTC and another time zone.

Request

import { parseAPI } from '@parseapi/sdk';

const parse = parseAPI("YOUR_API_KEY");
const result = await parse.time("UTC", { at: "2026-11-16T14:00:00Z", to: "America/New_York" });
console.log(result);

Time API documentation

What is Unix epoch time?

Unix time counts seconds from January 1, 1970 at 00:00 UTC. Zero is that instant. A negative value is earlier. A milliseconds timestamp counts thousandths of a second from the same starting point.

Is my timestamp in seconds or milliseconds?

Check the system that produced it and select the matching unit. Current timestamps commonly have 10 digits in seconds or 13 in milliseconds, but digit length is only a clue. This converter shows the selected interpretation and lets you correct it.

Does changing the time zone change the Unix timestamp?

No. The timestamp identifies one instant. Another zone can display a different clock time and even a different calendar date for that same instant.

How do I convert a date to a Unix timestamp?

Select Date to timestamp, enter the local date and time, then select the zone where that time applies. The results include Unix seconds, milliseconds and ISO 8601 in UTC. You can include seconds and up to three fractional digits.

Why can the same local time have two timestamps?

When clocks move backward, a local time can occur twice with different UTC offsets. Choose the earlier or later occurrence to get the intended timestamp. A time skipped when clocks move forward needs a different local time.

What does the Z in an ISO timestamp mean?

Z means UTC. For example, 2023-11-14T22:13:20.000Z is a complete UTC instant. It is the same instant as 1700000000 Unix seconds or 1700000000000 milliseconds.

What precision and date range are supported?

Seconds can have up to three decimal places. Milliseconds must be whole numbers. The form supports calendar years 1-9999 and rejects out-of-range values. Calculations use your browser's time-zone rules and do not count leap seconds as extra Unix seconds.