Why software uses a giant number instead of a calendar date
Storing time as a single integer rather than a structured date object makes comparing two moments, sorting a list of events, and calculating elapsed time (like "how many seconds passed between these two events") a simple arithmetic operation instead of a calendar-aware calculation. It also sidesteps timezone and calendar-format ambiguity entirely, until the exact moment a human actually needs to read the value.
Where you'll actually run into raw Unix timestamps
Log files, database records, API responses, URL parameters, and cookie expiration values commonly store time as a raw Unix number rather than a formatted date string, precisely because it's compact, unambiguous, and easy to compare. Converting that raw number into something readable is one of the most routine tasks in software development.
Frequently Asked Questions
Why does my timestamp look wrong by exactly 1,000x?
This is almost always a seconds-vs-milliseconds mismatch. Multiply or divide the value by 1,000 depending on which format the receiving system actually expects.
Does a Unix timestamp change if I'm in a different timezone?
No β the underlying number is identical everywhere in the world for the same instant. Only the human-readable date and time string shown from it changes, based on which timezone gets applied during the conversion.