Converting Date time value to days/hours/minutes ago format

ayman_h
Kilo Sage
Kilo Sage

Hi,

Is there a way to convert the Date Time value to the Time ago format similar to the one we see on the Service Portal or the list view eg. 5 hours ago? I am guessing a Script include looking at the time difference with the current time might be able to solve it but if someone knows of a better way or already has a script, please let me know.

Regards,
Ayman

3 REPLIES 3

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

you might have to develop custom script for that

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Inactive_Us1959
Kilo Explorer

Hi,

 

You might want to check this post

https://community.servicenow.com/community?id=community_question&sys_id=a93df8081b8ea8100b8a9979b04bcbb8

Regards,

Georgian

Brady Holliday
Tera Guru

 You should be able to do this within the system settings per user. (Using the gear in the top right)

find_real_file.png