File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

OS Clock

 
Davie Lin
Ranch Hand
Posts: 294
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys, I am using Win XP and it runs our app. Our app is written in Java. I know that Java take the OS clock and our app display the time. However, I notice some of our XP pc's clock is like a couple minutes fast. I was wondering if XP offer some sort of self-correct mechnism or is there some option in XP that we can set for it to self-correct the time.

Please if anyone know if XP has issue with clock or anything, it would be great if someone can post something here.

Thank you
 
Paul Clapham
Sheriff
Pie
Posts: 20185
26
MySQL Database
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I used to have XP and I remember that it had the option to connect to an Internet time source periodically, and synchronize the computer's clock with that. I don't have any XP computers any more but I think it was the Date/Time control from the Control Panel where you did that.
 
Davie Lin
Ranch Hand
Posts: 294
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just follow your suggestions but the only check box I saw for for adjusting Day light savings, not quite what I wanted
but thanks anyways,
 
Paul Clapham
Sheriff
Pie
Posts: 20185
26
MySQL Database
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It might have been somewhere else in the control panel, as I said I don't have XP any more. So (in particular) I can't poke around in other options looking for it, whereas you still do have XP so you could.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This document should help: http://tf.nist.gov/service/pdf/win2000xp.pdf

Seems that in XP you need to enter a command line:



where XXX is the IP address of one of the servers mentioned in the above document.
 
Sergey Babkin
author
Ranch Hand
Posts: 50
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To keep the time synchronized, you need to run the NTP synchronization. On Unix that would be "ntpd", I'm not sure about Windows.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic