Quantcast
Viewing all articles
Browse latest Browse all 17065

Get the length between two dates in hours

I am reading sleep data into my react-native app using react-native-healthkit, and I need to find a way to get the total amount of sleep time. The data is read in like this:

Image may be NSFW.
Clik here to view.
js object

If anyone has any ideas on the best way to handle this data, please let me know.


Viewing all articles
Browse latest Browse all 17065

Trending Articles



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