How to find when a YouTube video or X post was published
Published
An X post’s ID is its timestamp. The long number at the end of every post link encodes the millisecond the post was created, so the exact time can be read from the link itself, without opening the post and without the “3y” a timeline shows. YouTube is less generous on screen and more generous in its source, where the upload time sits to the second.
X posts: the date is inside the ID
Every post link ends in /status/ followed by a number of up to 19 digits.
Since November 2010 those numbers have been Snowflake IDs, a format Twitter
published as open source. Each one is a 64-bit integer built from three parts:
- the time, in milliseconds since a custom epoch;
- 10 bits identifying the machine that issued the ID;
- 12 bits of sequence number, for IDs issued in the same millisecond.
The machine and sequence bits sit at the bottom, 22 bits in all, so shifting
the ID 22 bits to the right leaves the time. That time counts from Twitter’s
epoch, 1288834974657, which is 4 November 2010 at 01:42:54.657 UTC, so adding
the epoch gives an ordinary Unix timestamp in milliseconds:
created_ms = (id >> 22) + 1288834974657
The social post date finder runs that arithmetic in your browser: paste a post link and it shows the time, in your time zone and in UTC, with the working. It reads Discord, Bluesky and Mastodon links the same way.
The result is the moment X issued the ID, which is the moment the post was created. Likes and reposts do not touch it, and a quote post has an ID of its own with its own time.
Two limits are built into the format. Posts from before November 2010 have sequential IDs with no time inside them, and they decode to within seconds of the epoch, which is why the finder refuses them instead of reporting 4 November 2010. And the decoded time is X’s clock, not the author’s: it says when the post reached X, which is the right answer for nearly every question except “when did they write it”.
YouTube videos: the upload time is in the source
The date under a YouTube video is shown to the day, and lists often reduce it
to a relative age such as “2 years ago”. The watch page’s source carries the full
value. Open it (Ctrl+U, or Cmd+Option+U on a Mac) and search for
uploadDate. YouTube writes it in schema.org microdata, the same vocabulary
articles use for datePublished:
<meta itemprop="uploadDate" content="2005-04-23T20:31:52-07:00">
<meta itemprop="datePublished" content="2005-04-23T20:31:52-07:00">
That pair is from the first video ever uploaded to YouTube, and it shows what
the visible date leaves out: the time to the second and a UTC offset. -07:00
is Pacific Daylight Time, so the upload was at 03:31:52 UTC on 24 April 2005,
already the next day in UTC. When a date matters to the day, convert the
offset before quoting it.
The same values appear a second time in the page’s script data as
"uploadDate" and "publishDate". When the microdata and the script data
agree, as they did on the page we checked, either can be quoted.
What these dates cannot tell you
- When the content was recorded. A video filmed in 2019 and uploaded in 2024 carries 2024. A post quoting a 2015 event carries the day it was posted.
- Whether this is the original. Re-uploads and copied posts get new IDs and new upload times. The earliest copy has the earliest date, and finding it means searching for the content, not the link.
For articles and ordinary web pages, the date lives in the publisher’s structured data and the publish date finder reads it the same way this guide reads YouTube’s. For pages with no date in their source at all, finding a hidden publication date covers the fallbacks.
Questions this guide gets asked.
- How do I find the exact time an X post was made?
- Take the long number after /status/ in the post's link. Shift it right by 22 bits and add 1288834974657, and the result is the creation time in milliseconds since 1 January 1970 UTC. The social post date finder does the arithmetic in your browser and shows the working.
- Does decoding the ID work for old tweets?
- Only for posts made after X introduced Snowflake IDs in November 2010. Older posts have sequential IDs that carry no time at all, and the social post date finder says so when it sees one.
- How do I see the exact upload time of a YouTube video?
- Open the page source of the watch page and search for uploadDate. YouTube writes the upload time to the second, with its UTC offset, in an itemprop="uploadDate" attribute and again as datePublished.
More answers on the full FAQ, or see exactly how each signal is weighted in the methodology.
The ladder in this guide is exactly what our tool automates.