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

Determine the Heart Rate Date and Time

Using the Heart Rate sensor, I am able to get the heart rate and timestamp of each reading as they occur. How do you use the timestamp to determine the date and time that the reading occurred? Does the timestamp represent the number of seconds from some point in time? If so, what point in time? Thanks!

Best Answer
0 Votes
3 REPLIES 3

The timestamps are arbitrary, and are really only relative to one another. If you take note of the actual time at which the first of the readings arrives (eg, using Date), then you can work out the actual time of subsequent readings.

Peter McLennan
Gondwana Software
Best Answer
0 Votes

I tried using Date during this process and it returns a timestamp as well. I am unable to extract a date and time from this value, either. How do you get a date and time out of this value? My Java knowledge is limited, and I have tried different methods to extract it without success.

Best Answer
0 Votes
Best Answer
0 Votes