Is it possible to get the atomic clock timestamp from the iphone GPS?

This works to get the GPS time: #import <CoreLocation/CoreLocation.h> CLLocation* gps = [[CLLocation alloc] initWithLatitude:(CLLocationDegrees) 0.0 longitude:(CLLocationDegrees) 0.0]; NSDate* now = gps.timestamp; It doesn’t seem to be tamper-proof though. I tried this code on an iPhone 4 in airplane mode (iOS 6.1), and even then it gives a time all right. But unfortunately this time … Read more

GPS-time in Android

Getting the GPS time can be rather confusing! To extend discussions in accepted answer, getTime() in onLocationChanged() callback gives different answers depending on how the location (not necessarily GPS) information is retrieved, (based on Nexus 5 testing): (a) If using Google FusedLocationProviderApi (Google Location Services API) then getProvider() will return ‘fused’ and getTime() will return … Read more