Re: Slightly off -topic: Adding dates in ksh?
From: Seabold, Evelyn (Evelyn.Seabold_at_REXHEALTH.COM)
Date: 04/01/05
- Next in thread: Adams Kevin J: "Re: Slightly off -topic: Adding dates in ksh?"
- Maybe reply: Adams Kevin J: "Re: Slightly off -topic: Adding dates in ksh?"
- Maybe reply: Green, Simon: "Re: Slightly off -topic: Adding dates in ksh?"
- Maybe reply: Lamar Saxon: "Re: Slightly off -topic: Adding dates in ksh?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 31 Mar 2005 17:09:05 -0500 To: aix-l@Princeton.EDU
Hey Andrew,
(export TZ=XYZ+24; date) gives you yesterday(in GMT)
(export TZ=XYZ-24; date) gives you tomorrow(in GMT)
Adjust for your personal time zone.
Evelyn
-----Original Message-----
From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU]On Behalf Of
Drew T
Sent: Thursday, March 31, 2005 4:47 PM
To: aix-l@Princeton.EDU
Subject: Slightly off -topic: Adding dates in ksh?
I am looking for the best way to do date arithmatic in ksh?
Say you want to add dates or subract dates, what is the best way?
Thanks in advance,
Andrew
This email is confidential and intended solely for the use of the
individual or entity to whom it is addressed. If you have received this
email in error please notify the system manager at mailadmin@bisys.com and
delete the email immediately.
----- Confidentiality Notice -----
This e-mail and any attached documents contain confidential information belonging
to the sending entity, Rex Healthcare, and is intended only for the use of the
individual(s) or entity(s) associated with the recipient addresses listed in the message
header. The authorized recipient of this information is prohibited from disclosing this
information to any other party. If you are not the intended recipient, you are hereby
notified that any disclosure, copying, distribution or action taken in reliance on the
contents of the email and/or attachments is strictly prohibited. If you received this
e-mail transmission in error, please notify the sender immediately to arrange for return
or destruction of this information.
To report abuse or inappropriate use, please email abuse@rexhealth.com.(b)
- Next in thread: Adams Kevin J: "Re: Slightly off -topic: Adding dates in ksh?"
- Maybe reply: Adams Kevin J: "Re: Slightly off -topic: Adding dates in ksh?"
- Maybe reply: Green, Simon: "Re: Slightly off -topic: Adding dates in ksh?"
- Maybe reply: Lamar Saxon: "Re: Slightly off -topic: Adding dates in ksh?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|