I intend to accurately list how long ago was a backend record updated. I am fetching _updatedAt timestamp from Appery database, and doing the following:
var fromNowDate = moment(_updatedAt, 'YYYY-MM-DD HH:mm:ss.SSS').fromNow();
However, I am noticing that if an event was just updated, it shows up as -- updated in 7 hrs -- as returned by fromNowDate above. Can you suggest a way for me to accurately timestamp events. I am intending for a min level accuracy. e.g -- updated 2 mins ago -- for an event that was updated 2 mins prior.
Many thanks.