Time and Date
Andre Costa
acosta at ar.microlink.com.br
Sat May 29 17:44:27 UTC 2004
On Sat, 29 May 2004 10:08:23 -0700
"Mike McMullen" <mlm at loanprocessing.net> wrote:
> ----- Original Message -----
> From: "Don Dupy" <fedora at maxxrad.net>
> To: <fedora-list at redhat.com>
> 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
More information about the users
mailing list