From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from dsl092-170-084.wdc2.dsl.speakeasy.net ([66.92.170.84] helo=concerto.rednote.net) by speech.braille.uwo.ca with esmtp (Exim 3.36 #1 (Debian)) id 1Bnzep-0007Pk-00 for ; Fri, 23 Jul 2004 09:00:15 -0400 Received: from concerto.rednote.net (localhost [127.0.0.1]) by concerto.rednote.net (8.12.11/8.12.11) with ESMTP id i6ND04Pr011859 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 23 Jul 2004 09:00:04 -0400 Received: (from janina@localhost) by concerto.rednote.net (8.12.11/8.12.11/Submit) id i6ND04Sw011858 for speakup@braille.uwo.ca; Fri, 23 Jul 2004 09:00:04 -0400 Date: Fri, 23 Jul 2004 09:00:04 -0400 From: Janina Sajka To: "Speakup is a screen review system for Linux." Message-ID: <20040723130004.GB11775@rednote.net> References: <20040721192928.GA8425@romuald.net.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040721192928.GA8425@romuald.net.eu.org> User-Agent: Mutt/1.4.1i Subject: Re: Utc X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.1.4 Precedence: list Reply-To: "Speakup is a screen review system for Linux." List-Id: "Speakup is a screen review system for Linux." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jul 2004 13:00:15 -0000 Over the past few years I've grown increasingly reliant on my portable computer. This includes using AT as my alarm clock when I travel. I have found it fully reliable, but I have also found that I need to give it time in the time zone which my computer defaults to. In my case, that's EST. Of course, calculating this can become a tad tricky when one is many time zones distant. So, I've added a few key aliases to my bashrc such as the ones below. These give me simple commands that return the current time for various areas of the planet: alias est="TZ=/usr/share/zoneinfo/US/Eastern date" #Eastern Time alias cst="TZ=/usr/share/zoneinfo/US/Central date" #Central Time alias mst="TZ=/usr/share/zoneinfo/US/Mountain date" #Mountain Time alias pst="TZ=/usr/share/zoneinfo/US/Pacific date" #Pacific Time alias hst="TZ=/usr/share/zoneinfo/HST date" #Hawaii alias sst="TZ=/usr/share/zoneinfo/Pacific/Pago_Pago date" #Samoa alias wst="TZ=/usr/share/zoneinfo/Australia/Perth date" #Perth alias jst="TZ=/usr/share/zoneinfo/Japan date" #Japan alias ist="TZ=/usr/share/zoneinfo/Israel date" #Israel alias bst="TZ=/usr/share/zoneinfo/GB date" Of course, these aliases take account of local daylight time shifts, even though their names wouldn't change. I have often thought it would be fun to have tools to return time for cities by name, along with other pertinent data such as longitude, lattitude, etc. At least the time part helps when you're making phone calls around the planet. Hope this helps. Gregory Nowak writes: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi Cheryl. > > CDT is 5 hours back from gmt. So, if it's 2:00P here, it is 7:00P in > GMT. Here is a tip, if you do > > date -u > > date will give you the current time in GMT. Hth. > > Greg > > > On Wed, Jul 21, 2004 at 01:23:41PM -0500, Cheryl Homiak wrote: > > Aparently the "at" command only takes utc. can somebody tell me how to > > calculate that? I'm in U.s. central daylight time. > > thanks. > > > > > > -- > > Cheryl > > > > "Where your treasure is, there will your heart be also." > > > > > > _______________________________________________ > > Speakup mailing list > > Speakup@braille.uwo.ca > > http://speech.braille.uwo.ca/mailman/listinfo/speakup > > > > > > !DSPAM:40febfcf83331843213696! > > > > > > - -- > Free domains: http://www.eu.org/ or mail dns-manager@EU.org > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.3 (GNU/Linux) > > iD8DBQFA/sQY7s9z/XlyUyARAgaoAKCyXKRgxKDdrOvM219OVfCoGCgbKgCgmOvJ > ZATvUxv3lUZMquqGuY9jmhw= > =ajyN > -----END PGP SIGNATURE----- > > _______________________________________________ > Speakup mailing list > Speakup@braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup -- Janina Sajka, Chair Accessibility Workgroup Free Standards Group (FSG) janina@freestandards.org Phone: +1 202.494.7040