Re: Time and Date

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

 



yep, TMI (Too Much Info)  ;-)

thanks a bunch

Where else can you get 100 replies in various technical states to a simple
question???

you guys blow me away..........

I have posted a few replies to questions, but nothing like this.
I hope someday I can help more people like they have helped me....

Don Dupy
Systems Administrator
Maxxrad PC Services
http://www.maxxrad.net
email: fedora@xxxxxxxxxxx

On Sat, 29 May 2004, Andrew Robinson wrote:

> Don Dupy wrote:
> > 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
> >
>
> Yeah, reading the date man page is more difficult than using the
> command. To set the time on your machine, _as_root_, enter something like:
>
> date 05291542
>
> That breaks down to May 29 at 3:42 pm. If you need to set the year, the
> man page seems to say append it to the end:
>
> date 052915422004
>
> That's different than I remember from other unices, but so it goes. To
> check the results of the command, just enter
>
> date
>
> Most of the other stuff in the man page deals with controlling the
> format of how date outputs the current time and date. This is very
> useful if you are writing scripts and need to include time and/or date
> in the output. For example, you could put a time stamp on a list of
> items with something like
>
> date +"%Y%m%d%H%M%S"
>
> to get "20040529154225". That would insure that the items would sort
> chronologically with the Linux sort command. But I've already told you
> more than you wanted to know...
>
> Hope this helps.
>
> Andrew Robinson
>
>
> --
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
>



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

  Powered by Linux