Qick and easy Way to Sync System Time with Internet Timeserver?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am writing a windows service which, among other things, needs to sync the
system clock on a periodic basis. Is there a super-simple easy as pie way to
do this? [The serive will run on XP]

Thanks for your assistance.
 
How about configuring the W32time service to do this on your behalf?

"net time /help"
 
XP has a built in NTP client already. Log on as administrator and
double-click on the clock. One of the tabs provides the configuration
options. Use this tab to set up your NTP server and then log off.

Mike Ober.

Lau Lei Cheong said:
How about configuring the W32time service to do this on your behalf?

"net time /help"

"katzky" <[email protected]> ¼¶¼g©ó¶l¥ó·s»D:[email protected]...
I am writing a windows service which, among other things, needs to sync the
system clock on a periodic basis. Is there a super-simple easy as pie way
to
do this? [The serive will run on XP]

Thanks for your assistance.
 
What I need to do is control the sync via my application. I was looking
around and I found the registry entry for the sync interval for the NTP
client.....so I guess I am just going to change that value to the value I
need.


Michael D. Ober said:
XP has a built in NTP client already. Log on as administrator and
double-click on the clock. One of the tabs provides the configuration
options. Use this tab to set up your NTP server and then log off.

Mike Ober.

Lau Lei Cheong said:
How about configuring the W32time service to do this on your behalf?

"net time /help"

"katzky" <[email protected]> ¼¶¼g©ó¶l¥ó·s»D:[email protected]...
I am writing a windows service which, among other things, needs to sync the
system clock on a periodic basis. Is there a super-simple easy as pie way
to
do this? [The serive will run on XP]

Thanks for your assistance.
 
Something related but out of topic. :)

If your version of Windows XP is anything other than English version, the
"time sync" option disappears. :O

Michael D. Ober said:
XP has a built in NTP client already. Log on as administrator and
double-click on the clock. One of the tabs provides the configuration
options. Use this tab to set up your NTP server and then log off.

Mike Ober.

Lau Lei Cheong said:
How about configuring the W32time service to do this on your behalf?

"net time /help"

"katzky" <[email protected]> ¼¶¼g©ó¶l¥ó·s»D:[email protected]...
I am writing a windows service which, among other things, needs to sync the
system clock on a periodic basis. Is there a super-simple easy as pie way
to
do this? [The serive will run on XP]

Thanks for your assistance.
 
Back
Top