How to use the Unix Timestamp Converter
To convert a Unix timestamp to a date, paste the timestamp into the first box. To convert a date to a Unix timestamp, use the date picker in the second box. Your current Unix timestamp is shown and updates every second.
Frequently Asked Questions
A Unix timestamp is the number of seconds that have elapsed since 1 January 1970 00:00:00 UTC, known as the Unix epoch. It is a universal way to represent a moment in time that is independent of time zones and calendar systems.
Unix timestamps are simple integers that are easy to store, compare and calculate with. Adding 86400 to a timestamp always gives the same time the next day regardless of daylight saving changes. They are used in databases, APIs and log files worldwide.
Old systems stored Unix timestamps as a 32-bit signed integer, which has a maximum value representing 19 January 2038. After that, the number overflows. Modern systems use 64-bit integers which will not overflow for billions of years.
In PHP use time(), in JavaScript use Math.floor(Date.now()/1000), in Python use import time then time.time(), and in MySQL use UNIX_TIMESTAMP().