Re: Time and Date

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 29 May 2004 10:08:23 -0700
"Mike McMullen" <mlm@xxxxxxxxxxxxxxxxxx> wrote:

> ----- Original Message ----- 
> From: "Don Dupy" <fedora@xxxxxxxxxxx>
> To: <fedora-list@xxxxxxxxxx>
> Sent: Saturday, May 29, 2004 1:09 PM
> Subject: Time and Date
> 
> 
> > does anyone know a simple way to change the time and date
> > on a FC1 machine in command line mode
> > I don't have a gui installed
> > 
> > I don't quite understand the "date" command options
> > 
> > Thanks
> > 
> > Don Dupy
> 
> Don, try:
> 
> date MMDDhhmmYYYY
> 
> example:
> 
> date 052910062004
> 
> This will set the date and time to "Sat May 29 10:06:00 2004".
> 
> Hope this helps,
> 
> Mike

IIRC, if you don't set hardware clock afterwards, new time won't "stick"
after a reboot. I guess you should use

hwclock --hctosys

after the 'date' command. hwclock can also set the date/time directly,
check its manpage.

HTH

Andre

PS: UTC/localtime might also be an issue if you're running a dual-boot
machine, because settings for one OS might differ from the other.

-- 
Andre Oliveira da Costa



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux