Working With Negative Unix Timestamps Before 1970

Written by Raheel Ikram | Updated December 5, 2026 | Reading time: 4 minutes

Storing a user's 1965 birthdate inside an unsigned integer column or a MySQL TIMESTAMP field fails with an error or resets to January 1, 1970. Because the Unix epoch starts in 1970, any earlier moment must be written as a negative integer.

Examples of Negative Unix Timestamps

Negative Unix numbers count backward second by second from 1970-01-01 00:00:00 UTC:

Negative Unix SecondsUTC Date and Time
-11969-12-31 23:59:59 UTC
-864001969-12-31 00:00:00 UTC
-6311520001950-01-01 00:00:00 UTC
-21474836481901-12-13 20:45:52 UTC (32-bit minimum)

Where Negative Timestamps Fail

About the Author: Raheel Ikram

Creator of Timestamp Converter, writing practical guides on timekeeping, SQL schema design, and web utilities. Read full bio.