time zone setting

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

 



Thanks Greg again!

You're right!
Guys, you know everything.

The easiest way to set local time with date commandis to simply put in 
single quotes like this:
date -s 'sep 10 2006 15:08:00'
which makes it 03:08 PM.

Many thanks again!
Ned
----- Original Message ----- 
From: "Gregory Nowak" <greg@xxxxxxxxxxxxxxxxxx>
To: "Speakup is a screen review system for Linux." <speakup at braille.uwo.ca>
Sent: Sunday, September 10, 2006 1:51 PM
Subject: Re: time zone setting


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I'm going to guess that what is happening is that your time zone is
> set correctly, and your hardware clock is set to local time instead of
> GMT, but the system thinks your clock is set to GMT, and adjusts for
> the difference when you boot up. If your time zone is in fact set
> correctly, and your hardware clock is set to local time, then do the
> following:
>
> 1. Open /etc/default/rcS in your preferred editor.
>
> 2. Find the line that says
>
> UTC=yes
>
> , and edit it to say
>
> UTC=no
>
> , and save your changes.
>
> Then, you need to set your clock to your current time. To do this,
> have a look at the date(1) manual page. Off the top of my head, date
> hhmmss should work, where hh is hour, mm is minute, and ss is seconds,
> which I usually set in the 24-hour format, where 13:45 is 1:45
> P.M. However, I have to look up the syntax in the man page when I do
> this, so since it's off the top of my head, I stand to be corrected,
> and don't take my word on the right way to do it, read the man
> page. Hth.
>
> Greg
>
> P.S., I'm still assuming you're using debian. If you aren't, then
> either find out how to make the rcS change in your distro, or tell us
> what your distro is, so someone familiar with your distro can give you
> the correct instructions.
>
>
> On Sun, Sep 10, 2006 at 10:20:13AM -0700, Ned Granic wrote:
>> Hi all,
>> This is not a big issue, but I cannot get my local time set up correctly.
>> When setting up the time zone, whether the hardware clock is set or not 
>> to gmt, and time zone is AZ, my local time doesn't come out right when I 
>> run the date command.
>> It's far ahead.
>> Does it have to do anything with my router where the time zone is again 
>> set to AZ? And how do I fix it?
>>
>> Many thanks in advance!
>>
>> _______________________________________________
>> Speakup mailing list
>> Speakup at braille.uwo.ca
>> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
> - -- 
> web site: http://www.romuald.net.eu.org
> gpg public key: http://www.romuald.net.eu.org/pubkey.asc
> skype: gregn1
> (authorization required, add me to your contacts list first)
>
> - --
> Free domains: http://www.eu.org/ or mail dns-manager at EU.org
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (GNU/Linux)
>
> iD8DBQFFBHrg7s9z/XlyUyARAv1mAJ48g2H+rv0z+Qs/jyrxWNH1EV4dQwCeNbws
> TvRzAFw72V8Pw1XZv8bRP/E=
> =mx3v
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup 





[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux