How to get the real time instead of the system time

How to get the real time instead of the system time
0.0 0

#1

I wrote the code to get the current time. But that has a problem. It is because you can do illegitimate with iPhone’s time setting. I want to get the real current time. And as easily as possible. please tell me.


#2

The only way you can get the guaranteed ‘real’ time would be to call a web service - which obviously relies on them having internet access, but that’s the only way.

See for example



http://api.geonames.org/timezone?lat=47.01&lng=10.2&username=demo


#3

I will read it. If there is something I do not understand, I will ask you a question.
Thanks,


#4

For real time you could call an NTP server. Several of these around.