Timestamp Converter & Generator
Turn a Unix epoch into a real date, or a date into an epoch — in seconds, milliseconds or microseconds, with UTC and your local timezone side by side.
⬅️ Date to Timestamp
⚡ Common Timestamps
Click any row to load it into the converter above.
What A Unix Timestamp Actually Is
A Unix timestamp is simply the number of seconds that have elapsed since 00:00:00 UTC on 1 January 1970 — the "epoch". Because it's one plain number with no timezone attached, it's unambiguous everywhere on earth, which is why nearly every database, log file and API uses it internally. The complication is precision: some systems store seconds, JavaScript and Java use milliseconds, and Postgres or high-resolution tracing often use microseconds. A value that looks like a date in 1970 is usually milliseconds being read as seconds, and one that lands in the year 55000 is the reverse. Auto-detect mode here guesses the unit from the number's magnitude and tells you which it picked, so that mistake is visible rather than silent.
What else can you check?
These tools all work on the same connection and address data — pick whichever question you actually have.
Timestamp FAQ
How does auto-detect decide the unit?
By magnitude. A present-day timestamp in seconds is 10 digits, in milliseconds 13, and in microseconds 16. Values well outside those ranges are reported with the unit we assumed, so you can correct it if the guess is wrong for historical or far-future dates.
Why does my local time differ from UTC here?
Because your machine is in a timezone offset from UTC, and possibly observing daylight saving. Both are shown deliberately — the vast majority of timestamp bugs come from someone comparing a local time against a UTC one without noticing.
What is the year 2038 problem?
Systems storing Unix time in a signed 32-bit integer overflow on 19 January 2038, wrapping to 1901. Modern 64-bit systems aren't affected, but legacy embedded devices and old database columns can still be.
Can I enter a negative timestamp?
Yes. Negative values are valid and represent dates before 1970 — useful when working with historical records.
Does the week number follow ISO 8601?
Yes. Weeks start on Monday and week 1 is the week containing the first Thursday of the year, which is the standard most of the world and most date libraries use.