Calcoid

Timestamp Converter

Convert Unix timestamps (seconds or milliseconds) to human-readable dates and back. Auto-detects the unit, supports negative epochs, and shows UTC, GMT, and local.

Convert timestamps and dates

Conversion mode

Auto-detect uses seconds for up to 10 digits and milliseconds for 13 or more. Choose a unit for 11- or 12-digit values. Negative values (pre-1970) are supported.

Unix Timestamp Reference

Unix secondsUTC date and timeMeaning
001/01/1970, 12:00 AMUnix epoch
1,000,000,00009/09/2001, 1:46:40 AMOne billion seconds
1,704,067,20001/01/2024, 12:00 AMStart of 2024
1,735,689,60001/01/2025, 12:00 AMStart of 2025
2,147,483,64701/19/2038, 3:14:07 AMLargest signed 32-bit Unix time

Frequently Asked Questions about the Timestamp Converter

What is a Unix timestamp?
A Unix timestamp is the count of seconds since 00:00:00 UTC on January 1, 1970, the moment called the Unix epoch. The POSIX standard treats every day as exactly 86,400 seconds and ignores leap seconds, so the value is a plain running count. Databases, APIs, and log files store time this way because the number is timezone-free and sorts in chronological order. This tool also reads and shows millisecond timestamps, which use the same epoch.
How does this tool know if my number is seconds or milliseconds?
It checks the absolute value: anything 10^11 or larger counts as milliseconds, anything smaller counts as seconds. As milliseconds, 10^11 lands on March 3, 1973; as seconds, it lands in the year 5138, so real-world values on either side never overlap. If a number sits near the boundary, pick the unit yourself in the dropdown to override the guess.
Can I convert dates from before 1970?
Yes. Enter a negative timestamp and you get a date before the epoch, and the date-to-timestamp direction returns negative numbers too. JavaScript holds time as a 64-bit floating-point count of milliseconds, so the 32-bit overflow behind the year-2038 bug never applies here. The supported window runs roughly 273,000 years on each side of 1970.
Why does a date string without a Z still give a UTC result?
When you enter a value like 2026-01-15T10:30:00 with no zone marker, the tool appends a Z and reads it as UTC. Without that rule, the same text would shift by your computer's offset, a frequent cause of off-by-one-day bugs. To use a specific zone, add an explicit offset such as +02:00, or switch the timezone setting to local.
Is the year-2038 problem relevant to my code?
It matters wherever a system stores Unix seconds in a signed 32-bit value, which overflows after 03:14:07 UTC on January 19, 2038. Safety depends on the language runtime, operating system, database type, driver, and schema. Do not assume every JavaScript, Python, PostgreSQL, MySQL, C, or embedded path uses the same representation.

Related Calculators

More calculators in "Tech"

See all 98 calculators in "Tech"