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

Re: TimeZone Date String conversion?



On Fri, 6 Mar 1998 efh@nessie.mcc.ac.uk wrote:

> Does anyone know of a utility which will take a time-zone dependent date string
> such as
> 
>    Thu, 5 Mar 1998 12:33:00 -0500
> 
>    Tue, 3 Mar 1998 08:12:00 EST
> 
> and convert either to GMT/UST?

date -d "Thu, 5 Mar 1998 12:33:00 -0500" will return the date in your
local timezone; if you really want GMT, you might set the variable TZ=000
in the environment for it (maybe there's a better way, but I don't know).

Hope this helps,
Nelson
lago@that.com.br
That's Internet!


--
E-mail the word "unsubscribe" to debian-user-request@lists.debian.org
TO UNSUBSCRIBE FROM THIS MAILING LIST. Trouble?  E-mail to listmaster@debian.org .


Reply to: