possible to get google NTP time in android or generally via API call ??

238 views
Skip to first unread message

Shubham Jain

unread,
Feb 23, 2018, 8:50:41 AM2/23/18
to public-ntp-discuss
Hello,

I am developing an application and I want to use the Google's server time instead of relying on clients time.
Therefore I want to ask if it is possible to get the time from Google NTP via api call or something similar ?

Thanks.

Chris Schrier

unread,
Feb 23, 2018, 8:58:57 AM2/23/18
to jsja...@gmail.com, public-ntp-discuss
Greetings,
You can query Google's Public NTP service using existing NTP client libraries. We do not provide a special API or client, there are numerous examples on GitHub.

Querying the Time from an Android device may include a lot of latency, you will want to take this into consideration when making assertions about the accuracy of the returned time.


--
You received this message because you are subscribed to the Google Groups "public-ntp-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to public-ntp-disc...@googlegroups.com.
To post to this group, send email to public-nt...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/public-ntp-discuss/bc60f787-44ee-4166-a42e-a2e5a8ae4fd5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages