Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2069

How to convert timestamp in millis to time ago format ?

$
0
0

Hi All,

 

I am using odata to fetch some data and as part of data i have a date field which will be in milliseconds, like this 1452591705523

I need to convert this to time ago format like, 2 hours ago or 5 minutes ago or 2 days ago.

 

Is there any sap ui5 formatter which can be used to do this ??


Viewing all articles
Browse latest Browse all 2069

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>