date command time correction
From: Tom Lepkowski (tlep_at_post.harvard.edu)
Date: 08/29/03
- Previous message: cyberdude: "Re: substitute "(" in vi"
- Next in thread: Barry Margolin: "Re: date command time correction"
- Reply: Barry Margolin: "Re: date command time correction"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 29 Aug 2003 08:55:04 -0700
Hello,
Saying date -d EDT will not work b/c EDT is ambiguous.
My unix machine provides the date in UTC . What is the date argument
to add or subtract hours from date output?
Output:
[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"
So, besides formatting (which I can do) I need to subtract 6 hours.
Thanks for any help.
-Tom
- Previous message: cyberdude: "Re: substitute "(" in vi"
- Next in thread: Barry Margolin: "Re: date command time correction"
- Reply: Barry Margolin: "Re: date command time correction"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|