I do understand that it is possible to get the time set by the user by using new Date()
. But i face problems when the user set the time wrongly in his phone. How can i access the exact time regardless of what the user set?
Asked
Active
Viewed 87 times
0

Ken Y-N
- 14,644
- 21
- 71
- 114

UniquelyAnonymous
- 21
- 2
-
3call external ntp server – Iłya Bursov Jan 17 '18 at 01:12
-
I think this is what you are looking for: https://stackoverflow.com/questions/13064750/how-to-get-current-time-from-internet-in-android – mariusz_latarnik01 Jan 17 '18 at 01:13
-
I think you should first define what are you going to take as the source for the best time. – Juan Jan 17 '18 at 01:13