Skip to main content
NEOGOV Tom
Contributor ⭐️⭐️
August 4, 2026
Solved

Is it possible to display the actual date a post was created vs. "xx days ago"

  • August 4, 2026
  • 8 replies
  • 137 views

I’d like to display the date (Month, day, year) of each post vs. “21 days ago.” 

In other words, a date stamp or a timestamp?

Is there a setting I’ve missed that will make that change? 

Best answer by akhilv

In case this helps, I had Claude put together a small script that replaces the "x days ago" text with the actual date on topic pages. Insert before the </body> tag in  Third Party Scripts:

<script>
window.addEventListener('load', function() {
var i = 0, t = setInterval(function() {
document.querySelectorAll('time.qa-latest-post-time[datetime]:not([data-dr])').forEach(function(el) {
var p = el.getAttribute('datetime').split('-');
el.textContent = new Date(p[0], p[1]-1, p[2]).toLocaleDateString('en-US', {month:'long', day:'numeric', year:'numeric'});
el.setAttribute('data-dr', '1');
});
if (++i >= 20) clearInterval(t);
}, 300);
});
</script>


this only targets the "x days ago" timestamp on topic pages, not the relative dates on replies, or the "x months/years ago" on homepage tiles or featured content. But it's a start while we wait for a native solution! 😊

 

 

8 replies

Contributor ⭐️
August 4, 2026

I would like this as well. Plus the ability to sort by said date (and views) in every app surface consistently - Forums, Knowledge Articles, Groups, Events, etc.

samanthahamlet
Gainsight Community Manager
August 5, 2026

Hey ​@NEOGOV Tom 
There’s an existing Idea for this if you’d like to upvote!

But, if you hover over x days ago, it should display the exact date that the post was created. Do you see this on your end? 😊

NEOGOV Tom
Contributor ⭐️⭐️
August 5, 2026

That Idea was created 7 years ago! I’ll be retired in another 7 years, so let’s implement this sooner vs. later.  👴🏻

akhilv
Gainsight Employee ⭐️
akhilvAnswer
Gainsight Employee ⭐️
August 5, 2026

In case this helps, I had Claude put together a small script that replaces the "x days ago" text with the actual date on topic pages. Insert before the </body> tag in  Third Party Scripts:

<script>
window.addEventListener('load', function() {
var i = 0, t = setInterval(function() {
document.querySelectorAll('time.qa-latest-post-time[datetime]:not([data-dr])').forEach(function(el) {
var p = el.getAttribute('datetime').split('-');
el.textContent = new Date(p[0], p[1]-1, p[2]).toLocaleDateString('en-US', {month:'long', day:'numeric', year:'numeric'});
el.setAttribute('data-dr', '1');
});
if (++i >= 20) clearInterval(t);
}, 300);
});
</script>


this only targets the "x days ago" timestamp on topic pages, not the relative dates on replies, or the "x months/years ago" on homepage tiles or featured content. But it's a start while we wait for a native solution! 😊

 

 

Gaby
Helper ⭐️
August 5, 2026

I submitted a similar idea if anyone wants to upvote it! 

 

Gaby (Client Engagement & Community Manager @ Benevity)
NEOGOV Tom
Contributor ⭐️⭐️
August 5, 2026

Thank you! Upvoted!