I have a location object to which I'm assigning the result of the getLastKnownLocation()
method.
Now I need to know the age of these coordinates, in order to set a reasonable time frame in which I can update the latitude and longitude. I'm using Location.getTime()
to get this value. However, I'm confused as to how exactly I should go about converting this value into hour. I need to update the location coordinates every X hours, hence the reason I need the value of getTime()
in hours.