Re: Setting hwclock Time
Michael Perry <mperry@tsoft.com> wrote:
> Do you have hwclock running? I will assume you have it but no man pages
> yet.
>
> Basically, you enter a command like:
>
> hwclock --set --date="9/22/96 16:45:05"
>
> This sets the bios clock to the correct time. Just change the part in
> quotes. Then you want to have the hwclock set the system time for you.
> Try doing a:
>
> hwclock --hctosys
>
> From the man page for this command:
>
> --hctosys
> Set the System Time from the Hardware Clock.
>
> Also set the kernel's timezone value to the local
> timezone as indicated by the TZ environment vari
> able and/or /usr/lib/zoneinfo, as tzset(3) would
> interpret them. EXCEPT: always set the Daylight
> Savings Time part of the kernel's timezone value to
> 0 ("not Daylight Savings Time"). If DST is indi
> cated, just add an hour to the base part.
Many thanks!! This worked so well that I think I will name my next kid after
you!
Jack Morgan
Reply to: