I am working with the Google Fit API and have managed to figure out how to get sleep sessions and sleep detail. However all the times are in milliseconds since the epoch. How can I find out what the user's local time was when they woke up or their timezone at that time?
Without this information I can't attribute the sleep to the correct calendar day.