On Mon, Aug 28, 2000 at 11:32:03PM +1100, John Ferlito wrote:
>       What actually does the time changing, is it a kernel thing cronjob? And does 
>it actually log anything anywhere?
> The time changed fine on ll my machines but there really isn't a record of it 
>anywhere.

Nothing does the time changing - the time itself never actually changes.
Unix'es store the time as a count of the number of seconds since midnight
GMT on the 1st of January, 1970 (Aka the epoch).
Whenever you ask it to display the time it takes this figure, reads in the
current timezone file, and calculates the local time.

This is best shown as follows :

milliways:~$ TZ=Australia/NSW  date
Monday August 28 23:44:27 EST 2000
milliways:~$ TZ=GMT  date
Monday August 28 12:44:29 GMT 2000
milliways:~$ TZ=US/Central  date
Monday August 28 07:44:34 CDT 2000
milliways:~$ date
Monday August 28 23:44:38 EST 2000

The time hasn't changed to those new values, it's just displayed
differently depending on the current timezone value.

  Scott.


--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to