[dba-Tech] worldtime.io and the other ways to programmatically get the current UTC time

Salakhetdinov Shamil mcp2004 at mail.ru
Sun Nov 29 16:07:43 CST 2015


 Hi All --

The subject web site worldtime.io seems to be providing incorrect current time - compare with  http://www.timeanddate.com/worldclock/  (middle page).

I have to find a way to get correct current time independent from my MS Windows system - I'm using the code from checked answer from the following topic 

http://stackoverflow.com/questions/1193955/how-to-query-an-ntp-server-using-c

and the time value it returns seems to be in sync with my system time.

Do you now any other way to get the current UTC time preferably using a free  (RESTFul) webservice?

Thank you.

-- 
Салахетдинов Шамиль


More information about the dba-Tech mailing list