What is a Unix timestamp, and why does it look like 1795305600?
A Unix timestamp is a count of seconds since 1970. Learn how to read one, why software prefers it, and how to turn it into a normal date and time.
You open a settings file, a log, or a database export, and where a date should be you find something like "created": 1795305600. No slashes, no month names, nothing that looks like a date at all. Just a very large number.
Nothing is broken. That number is a date, written in a way computers like.
The short answer: a Unix timestamp is the number of seconds that have passed since 1 January 1970. Convert it once and it reads as an ordinary date and time, in your own time zone.
A number that counts seconds
Pick any moment in history after 1970 and ask: how many seconds have passed since midnight on 1 January 1970? That answer, as one big number, is the Unix timestamp for that moment.
The starting point, 1 January 1970, is called the Unix epoch. Unix is an old operating system whose designers needed a simple way to store time, so they picked that date and started counting. The habit stuck, and almost every modern system copied it.
For example, the timestamp 1795305600 means midnight on 22 November 2026, measured in a world standard time zone called UTC (Coordinated Universal Time, the clock the whole world agrees on as a reference).
Why computers prefer one big number
Dates written for humans are messy for software. "22/11/2026" could mean November or could mean the 22nd day of an 11th something, depending on the country. Is 03/04/2026 March or April? Nobody can tell without asking.
A timestamp has none of those problems:
- It is a single number, so comparing two moments is just comparing two numbers.
- It carries no formatting, so it never gets garbled between systems.
- It ignores time zones. Two people in Kuala Lumpur and London talking about 1795305600 are talking about the exact same instant.
That is why timestamps appear everywhere in software: file records, log entries, app exports, security tokens, message queues. The machine stores the number and converts it to a friendly date only when showing it to a person.
Where you will bump into timestamps
Some common places the big numbers show up:
- App and website exports: order histories, message archives, and analytics files often store times as timestamps.
- Log files: server logs timestamp every event, usually in UTC.
- APIs: when one program asks another for data, dates often travel as timestamps.
- Programmer forums: answers on sites like Stack Overflow frequently include raw timestamps, even in questions about dates.
If you work with any of these, being able to decode a timestamp is a small skill that saves a surprising amount of squinting.
How to read one in a few seconds
You could do the maths yourself, but nobody does. The easiest route is a converter: paste the number, get the date.
The Timestamp Converter on SenangWebsite works in both directions. Paste 1795305600 and see the date it represents, or pick a date and time and get the timestamp for it. It runs entirely in your browser, so whatever dates you are checking stay on your own device.
A tip when converting: look at the time zone shown in the result. A timestamp is one exact instant worldwide, but your converter displays it in your local clock, which may differ from the time zone the data came from.
Timestamps in seconds vs milliseconds
Most timestamps you meet will be 10 digits, counting seconds. But you will also meet 13-digit numbers like 1795305600000. Those count milliseconds instead, and they are common in systems that need finer precision, such as JavaScript-based apps.
The rule of thumb is the digit count:
- 10 digits: seconds.
- 13 digits: milliseconds.
- 16 digits: microseconds, occasionally seen in very precise logs.
If a converter gives you a date in the far future or far past, you probably fed it the wrong kind. Trim three zeros from a 13-digit number, or add them, and try again.
A few things that trip people up
Three habits worth building early:
- Do not try to eyeball it. Timestamps are not proportional in any way that helps a human. 1795305600 to 1795392000 is one full day, which no one can sense by looking.
- Check the time zone after converting. If a report from another country seems to happen "at the wrong hour", the data is usually fine. Only the display zone differs.
- Do not panic at small numbers like 0 or 1000000000. Zero is the epoch itself, and 1000000000 was a real moment in September 2001 that programmers famously celebrated.
Once you have converted a handful of timestamps, the big numbers stop being intimidating. They are just dates wearing a plain grey uniform, and one paste into a converter puts the calendar back on.