cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How do I convert epoch time to Normal time

In File monitoring extension(source: GitHub), the metric named as "last modified time" is returning time in an epoch format. So, how do we convert that epoch time to Normal time format?

MicrosoftTeams-image (2).png

1 REPLY 1

While taking last modified time (file watcher) metric in dashboard it is showing epoch time format. How can I convert that epoch time in normal readable form (dd\mm\yyyy hh:mm:ss). I've tried using metric expression but it was not working, also when I'm using format string (time range ${t}) it is showing as "Last 1 day". a.png

Kindly help me to solve this issue, thank you in advance.