What is the best way to sync computer time with an internet time server?

I need to get the current time from one of internet time server in my desktop application. I suppose I need something like a request string and a regular expression to get time from any site that user wants (may be with several predefined sites).

Or may be there are some free libraries exist?

Thanks.

6
задан Justin Ethier 17 August 2010 в 14:24
поделиться