In one line
The seconds since a post are the current Unix time minus the post's creation time, which is (post ID >> 22) + 1288834974657 milliseconds, divided by 1,000 and rounded down.
How do you count the seconds since a post?
Take the post's creation time from its ID, subtract it from the current time and divide by 1,000. X post IDs since November 2010 are Snowflake IDs: the number shifted right by 22 bits gives the milliseconds since 4 November 2010 01:42:54.657 UTC. Add that epoch and you have an ordinary Unix timestamp.
A worked example with a post from X's API documentation, ID 1212092628029698048:
| Step | Value |
|---|---|
| ID >> 22 | 288,985,402,114 |
| + X epoch 1,288,834,974,657 | 1,577,820,376,771 ms |
| As a date | 31 December 2019, 19:26:16.771 UTC |
| Seconds since, on 1 January 2026 00:00 UTC | 189,405,223 |
The last row changes every second, which is what the counter above shows.
What is this page good for?
Settling "who posted first" and measuring response times. When two accounts post the same news, X labels both "2m" and you can't tell them apart. Their IDs can. Paste each one and compare the seconds, or use the batch decoder to see the exact gap between them to the millisecond.
Other uses people tell us about:
- Timing how long a brand took to reply to a complaint
- Checking whether a "live" post really went up during an event
- Matching a post to a timestamp in a video or a server log
Seconds, minutes or hours?
This page has two siblings that keep the same addresses they've always had: minutes since a post and hours since a post. All three show every unit; they just put a different one in the big display.
Questions people ask
Why count in seconds at all?
Seconds are what you need when a few moments matter: checking which of two replies came first, timing how fast an account answered, or lining a post up with a clip or a log file. For anything older than a day, minutes or hours read more easily.
Is the count exact?
It starts from the millisecond stored in the ID, so the only error is your own device's clock. If your computer's clock is off by ten seconds, the count is off by ten seconds too. Phones and computers that sync time automatically are usually within a second.
Can two posts have the same second?
Yes, thousands of posts are created every second. The IDs still differ because the lower 22 bits hold a machine number and a sequence number, and the timestamp itself goes down to the millisecond.