in reply to Getting date and time from other computer
I am compelled to ask: Why do you even need this? I can think of some good reasons, I want to hear yours.
Sync'ing clocks in a network can be complex. Let's say my PC's clock is "too slow" vs "actual time". Ok, I can set my clock forward say 3 seconds and things will probably be fine.
Now what happens if my PC clock is "too fast" vs "actual time"? If I set my clock back 3 seconds, I will probably cause "time sequence errors" in log files, etc.
The way "I'm too fast" is handled, is by slowing my clock down until "actual time" catches up with me (ie maybe it takes me 61 actual clock seconds to tick off 60 of my clock seconds). That way all my files and log messages have the same time sequential order.
Anyway if this really is a network, your time will be the same as the others on the network. I remain curious as to your application.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Getting date and time from other computer
by ruzam (Curate) on Sep 08, 2009 at 13:52 UTC | |
by Marshall (Canon) on Sep 08, 2009 at 17:58 UTC |