|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
where does time come from?
say i installed apache and php. where does the current date come from?
and how does it keep up with the time i forget, but doesnt windows get time automatically when u install it? how does that happen? just wondering =) thank you
__________________
Free Random Signature , Avatar Hosting http://freebsd.munk.nu/ http://jez.hancock-family.com/ |
|
#2
|
||||
|
||||
|
Time comes from whatever you set your system data and time to. It is only as good as your initial input and the health of your battery. That is generally speaking for both Linux and Windows. Windows has no magic get time function when you install it.
If you don't want to rely on your own brains, system battery, then you can install an NTP client to obtain accurate time from another server elsewhere. |
|
#3
|
||||
|
||||
|
google for "chrony" if you're on a *nix box. This will sync your clock to atomic time, and it smart enough to do slow adjustments so as to not bork your cron scripts/timestamps.
It essentially makes a time go slower or faster on your box to get it to the correct atomic time. It's very cool, if you're into this sort of thing. Last edited by Hero Zzyzzx : October 20th, 2003 at 10:14 PM. |
|
#4
|
|||
|
|||
|
alrighty thanks
|
![]() |
| Viewing: Dev Shed Forums > Other > Beginner Programming > where does time come from? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|