Posted: Sat Oct 27, 2012 1:35 am Post subject: Rexx date
I need a help to solve a problem with REXX.
I've a variable with this content:
D12300 where 12 are the two digits for the year
(2012 in this case) and 300 is the day of the year
(the 300th day from the first of Januar- it means today).
My problem is that I want to convert this values to
get the date in this format: 26/10/2012.
it looks like you could
which should give you 26 Nov 2012
then you could
which would give you 10/26/12
so, putting it together this way
which should give you: 26/10/2012
you can do it anyway that you want _________________ Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum