What is a Unix timestamp?
A Unix timestamp represents a moment in time as the number of seconds that have elapsed since 1 January 1970 at 00:00:00 UTC, known as the Unix epoch.
Unix time support
Clear, technical explanations of how Unix timestamps work, why they use UTC, how to interpret seconds and milliseconds, and how Unix time is used in modern systems.
A Unix timestamp represents a moment in time as the number of seconds that have elapsed since 1 January 1970 at 00:00:00 UTC, known as the Unix epoch.
The Unix epoch was chosen during the development of early Unix operating systems as a practical and consistent reference point for time calculations.
Yes. Unix timestamps are always based on UTC and do not contain timezone, regional offset, or daylight saving information.
Timezones are applied only when converting a Unix timestamp into a human-readable date. The timestamp itself is timezone-independent.
Unix timestamps are traditionally expressed in seconds. Some systems use milliseconds, which are simply the Unix timestamp multiplied by 1,000.
A 13-digit Unix timestamp almost always represents milliseconds rather than seconds.
No. Unix timestamps are not affected by daylight saving time. DST is only applied when converting to local time for display.
Unix timestamps are optimised for machines. They allow efficient storage, comparison, and sorting without ambiguity caused by date formats or timezones.
Unix timestamps are accurate to the precision provided by the system generating them, commonly seconds or milliseconds.
No. Unix time does not account for leap seconds. Time is treated as a continuous count of seconds since the epoch.
Because Unix timestamps increase monotonically over time, they can be sorted numerically without additional context.
Unix timestamps are compact, unambiguous, and easy to parse across programming languages and platforms.
Storing Unix timestamps avoids timezone ambiguity and simplifies indexing, comparison, and replication across systems.
The Year 2038 problem affects systems using 32-bit signed integers to store Unix time, causing overflow on 19 January 2038.
Most modern systems use 64-bit timestamps, making the Year 2038 problem largely irrelevant today.
Yes. Negative Unix timestamps represent dates before 1 January 1970.
Some systems support microsecond or nanosecond precision, but these are extensions beyond traditional Unix time.
No. Velohost performs Unix timestamp conversions live and does not store input values, results, or usage history.
Want to try it yourself? Convert Unix timestamps or Base-64 encoder & decoder or Decode JWTs
Need to convert Unix time?