Epoch Converter Online
Use this epoch converter and Unix timestamp converter to convert epoch time into a normal date and time, or convert a UTC date back into a timestamp. It covers common searches such as timestamp to date, epoch time converter, Unix time converter and timestamp converter.
The converter automatically handles Unix timestamps in seconds, milliseconds, microseconds and nanoseconds. You can also see the current timestamp, compare UTC with your local time, find the start and end timestamps of a year, month or day, and convert a number of seconds into days, hours and minutes.
What is epoch time?
Epoch time, also called Unix time, counts the number of seconds since January 1, 1970 at 00:00:00 UTC. It gives software a compact numeric way to represent a moment in time.
Unix time is widely used in operating systems, databases, APIs, logs, analytics and distributed applications.
What is a Unix timestamp?
A Unix timestamp is a numeric representation of time based on the Unix epoch. A standard Unix timestamp is normally stored in seconds, although many systems use milliseconds, microseconds or nanoseconds.
For example, browser and JavaScript APIs often work with milliseconds, while many server-side systems and APIs use seconds.
How do I convert a Unix timestamp to a date?
Enter the timestamp in the Timestamp to Date box and click Convert. With Auto detect selected, the converter estimates whether the number is in seconds, milliseconds, microseconds or nanoseconds.
The result shows the epoch value, UTC date and time, your local date and time, and ISO 8601 output.
How do I convert a date to a Unix timestamp?
Enter the year, month, day, hour, minute and second in the Date to Timestamp section. The input is treated as UTC.
The converter returns Unix timestamps in seconds, milliseconds, microseconds and nanoseconds so you can use the unit required by your application.
What is the current Unix timestamp?
The live counter at the top of the tool shows the current Unix timestamp in seconds and milliseconds and updates automatically.
You can copy either value directly. Unix time itself is based on UTC, so the numeric timestamp represents the same instant worldwide.
What is the difference between seconds and milliseconds timestamps?
A Unix timestamp in seconds is commonly about 10 digits for modern dates. Millisecond timestamps are commonly about 13 digits, microseconds about 16 digits and nanoseconds about 19 digits.
The extra digits represent finer precision. This converter can auto-detect these common units or you can select the unit manually.
Are epoch time and Unix time the same thing?
In everyday developer usage, epoch time, Unix time and Unix timestamp usually refer to the same system based on the Unix epoch starting on January 1, 1970 UTC.
The word epoch can technically refer to other reference dates in other systems, but Unix epoch is by far the most common meaning in timestamp tools.
Why does a timestamp look different in my local time?
A Unix timestamp identifies one instant, but that instant can be displayed differently in different time zones. UTC is the common reference, while local time applies your device time zone and daylight-saving rules.
This converter shows both UTC and your browser’s local time so you can compare them directly.
How are Unix timestamps used in JSON and APIs?
Many APIs and JSON payloads store dates as Unix timestamps because numbers are compact and easy for software to parse. After converting a timestamp here, you can inspect a full payload with the linked JSON Formatter.
Always check the API documentation to confirm whether its timestamp unit is seconds, milliseconds, microseconds or nanoseconds.
What happens to Unix time in 2038?
The Year 2038 problem affects software that stores Unix time in a signed 32-bit integer. The largest value reaches its limit in January 2038.
Modern 64-bit systems and applications generally use much larger timestamp ranges, but older software and embedded systems can still require special attention.