Thanks all,
 
I'm sure from one of these suggestions I'll be able to find a solution to the 
problem I'm working on.

--- On Wed, 5/13/09, Scott Rohling <scott.rohl...@gmail.com> wrote:


From: Scott Rohling <scott.rohl...@gmail.com>
Subject: Re: REXX Date Function Help...Please
To: IBMVM@LISTSERV.UARK.EDU
Date: Wednesday, May 13, 2009, 12:14 PM


Yes - I agree - the point is to phase out Julian.   I think phasing out 'USA' 
(or European) is harder  because it's used as a 'shorthand' date so many places.

I suggested to Howard offline that using DATE('B') (Base) is probably the best 
way to deal with date manipulation (the common reason for using Julian) and 
doesn't have the difficulties of spanning years that Julian does when doing 
calculations.

For example:

today = date('B')
lastweek = today - 7
Say DATE('S', lastweek, 'B')

Would spit out the the sorted date (yyyymmdd) for one week ago.   This works 
whether I issue it on Jan 2 or Jun 2.

Scott


On Wed, May 13, 2009 at 10:05 AM, Ethan Lanz <llel...@gmail.com> wrote:





so it looks like the point is phasing out Julian dates.





      

Reply via email to