What Is a Unix Timestamp, and How Do You Convert It?
That 10-digit number in your API response or database log is counting seconds from a specific moment in 1970 — here's what it means and how to read it.
EDTechToolsCenter EditorialA Unix timestamp is a single number representing a point in time — the count of seconds that have elapsed since 00:00:00 UTC on January 1, 1970 (the "Unix epoch"). Instead of storing a date as text with a timezone attached, systems store this one plain number and format it however they need at display time.
Why systems use it instead of a normal date string
A timestamp is timezone-agnostic, sortable as a plain number, and unambiguous across every system and programming language — there's no "is this MM/DD/YYYY or DD/MM/YYYY" confusion, because it's just seconds counted from a fixed reference point. That's why it shows up everywhere in logs, databases and API responses instead of a human-readable date.
Sponsored
Seconds vs milliseconds — the most common mix-up
Step-by-step: converting a timestamp
- Open the Timestamp Converter.
- Paste your timestamp — check whether it's 10 digits (seconds) or 13 digits (milliseconds) if the tool doesn't detect it automatically.
- Read the converted human-readable date and time, shown in your local timezone and in UTC.
- To go the other direction, enter a date and get back the Unix timestamp — handy for constructing API requests or database queries that expect one.
A quick way to sanity-check by hand
As a rough mental check: timestamps in the 1,700,000,000s to 1,800,000,000s range correspond to dates in 2023–2026. If you're staring at a number wildly outside that range while expecting a recent date, you're very likely looking at milliseconds (or microseconds) rather than seconds — divide by 1,000 (or 1,000,000) and check again.
Tools used in this article
Sponsored
Frequently asked questions
January 1, 1970, 00:00:00 UTC — the Unix epoch, the reference point every Unix timestamp counts from.
TechToolsCenter Editorial
How-to Guides
Our editorial desk publishes step-by-step tutorials, comparisons and productivity tips for everyday digital tasks.
Related articles
What Is DNS? How Domain Name Resolution Actually Works
Typing a domain name and getting a page back looks instant and simple — underneath it, a chain of independently operated servers just resolved a name into an address, and understanding that chain explains half the confusing DNS problems people run into.
Is It Safe to Open an SVG File? SVG Security Risks Explained
An SVG isn't just a picture — it's an XML document that can carry live event-handler attributes capable of running JavaScript the moment it's rendered, and treating it like a photo is exactly where the risk comes from.
Server-Sent Events (SSE) vs WebSockets: What's the Real Difference?
Both push data from a server to a browser without polling — but SSE is one-way over plain HTTP, while WebSockets are full-duplex over their own protocol. Picking the wrong one means either fighting infrastructure or over-engineering a simple feed.