LinkedIn Comment Date Extractor | Find Exact Comment Dates

Cooking up your results…

How to Calculate a LinkedIn Comment’s Date

Have you ever tried to find out exactly when a LinkedIn comment was posted?

Unfortunately, LinkedIn does not always show the full date and time for comments directly.

However, the comment URL contains the information we need, and the comment’s ID inside that URL carries the timestamp data required to calculate it.

The important part is finding the correct ID.

Understanding LinkedIn Comment URLs

A LinkedIn comment URL usually contains two different IDs:

  • The ID of the original post
  • The ID of the comment itself

A comment reference may look something like this:

urn:li:comment:(activity:1234567890123456789,9876543210987654321)

In this example:

  • 1234567890123456789 is the ID of the original post
  • 9876543210987654321 is the ID of the comment

The comment ID may appear after fsd_comment: or commentUrn= inside the URL.

Why the Correct ID Matters

If you use the original post’s ID, you will get the date when the post was published. You will not get the date when the comment was written.

This is why a standard LinkedIn Post Date Extractor cannot always give you the correct result for a comment link. The calculation is the same, but the ID being decoded is different.

How the Comment Date Is Calculated

Once the correct comment ID has been found, the process works like this:

  1. Convert the comment ID into binary
  2. Take the first 41 bits
  3. Convert those bits back into decimal
  4. Read the result as a Unix timestamp in milliseconds
  5. Convert the timestamp into a readable date and time

The only difficult part is separating the comment ID from the parent Post ID.

That’s Why I Created This Tool

Instead of searching through the URL and trying to identify the correct number yourself, paste the LinkedIn comment URL into the tool and click Extract Date & Time.

You will instantly get:

  • The comment’s exact date and time in UTC
  • The date and time in your timezone
  • Date only in UTC and your timezone
  • Time only in UTC and your timezone
  • ISO 8601 format
  • Unix timestamp
  • The Comment ID
  • The parent post’s date when its ID is available

What Happens If You Enter a Post Link?

If you enter a regular LinkedIn post URL that does not contain a Comment ID, the tool tells you that it is a post link.

You can then use the LinkedIn Post Date Extractor to find the date of that post. This prevents you from receiving the post’s date when you expected the comment’s date.

Scroll to Top