On Fri, 6 Mar 1998 [EMAIL PROTECTED] 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
[EMAIL PROTECTED]
That's Internet!


--
E-mail the word "unsubscribe" to [EMAIL PROTECTED]
TO UNSUBSCRIBE FROM THIS MAILING LIST. Trouble?  E-mail to [EMAIL PROTECTED] .

Reply via email to