"date" prints the os's clock "hwclock" prints the hardware's clock you can set one from the other with "hwclock --hctosys" or "hwclock --systohc"
If you want your system in UTC/GMT time you'll want to set your date, then say, "hwclock --systohc --utc". You'll also need to tell your OS that it is in UTC time. In debian this is in /etc/defaults/rcS, a line that says 'UTC=yes' You'd use utc time so you don't have to change to/from daylight savings time. Your OS will know the clock is in UTC time, but will report the proper local time for you: $ date Wed Nov 6 17:21:57 PST 2002 -----Original Message----- From: Mike O [mailto:notanatheist@;yahoo.com] Sent: Wednesday, November 06, 2002 4:03 PM To: [EMAIL PROTECTED] Subject: Re: [Eug-lug]What time? date What about setting the time in the BIOS? Will both OS's recognize that properly? --- Dexter Graphic <[EMAIL PROTECTED]> wrote: > Is there a command you can type at the Linux command > line to tell you > what time it is (or at least what time the computer > thinks it is)? __________________________________________________ Do you Yahoo!? U2 on LAUNCH - Exclusive greatest hits videos http://launch.yahoo.com/u2 _______________________________________________ Eug-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug _______________________________________________ Eug-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
