Paste a post or comment link. Get the exact publish time.
LinkedIn post and comment IDs are 19-digit numbers. The first 41 bits of the number are a Unix timestamp in milliseconds. To read it, shift the ID right by 22 bits.
ms = BigInt(id) >> 22n
The numbers are larger than 2^53, so plain JavaScript numbers lose digits. This page uses BigInt to keep every digit.
Worked example
Comment ID 7243992047441870850
Shifted right by 22 bits: 1727102290974 ms
ISO 8601: 2024-09-23T14:38:10.974Z
That is Mon, 23 Sep 2024 14:38:10 UTC.
LinkedIn does not document this ID layout. The method comes from reverse engineering, and it could change without notice. The page rejects any ID that decodes to a date before LinkedIn launched (5 May 2003) or to a date in the future.
The method follows the open-source LinkedIn post timestamp extractor by Ollie Boyd. Its JavaScript and Python versions both take the first 41 bits of the ID as milliseconds since the Unix epoch. Its README credits Ryan Benson's work on TikTok timestamps as the starting point.
The worked example above is the test comment from that repository. Its Python docstring gives the same date, Mon, 23 Sep 2024 14:38:10 GMT.
Tool collection
LinkedIn Analytics ToolsRead next
LinkedIn algorithm explainerPick a topic and tap any post, no login needed. This is what ViralBrain writes for you every week.
Monday,
Tuesday,
Wednesday,
Thursday,
Friday,
New posts every week.