Re: date command time correction
From: Barry Margolin (barry.margolin_at_level3.com)
Date: 08/29/03
- Previous message: Tom Lepkowski: "date command time correction"
- In reply to: Tom Lepkowski: "date command time correction"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 29 Aug 2003 16:08:32 GMT
In article <16562f2d.0308290755.8c81dfa@posting.google.com>,
Tom Lepkowski <tlep@post.harvard.edu> wrote:
>[me@server home]$ date
>Fri Aug 29 15:50:01 UTC 2003
>
>I need date to print "Fri Aug 29 11:50:01 EDT 2003"
The default time zone is controlled by the TZ environment variable, so you
can change it temporarily while executing the command:
TZ=US/Eastern date
>So, besides formatting (which I can do) I need to subtract 6 hours.
You mean 4 hours.
-- Barry Margolin, barry.margolin@level3.com Level(3), Woburn, MA *** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups. Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.
- Previous message: Tom Lepkowski: "date command time correction"
- In reply to: Tom Lepkowski: "date command time correction"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]