If you do it in REXX, as already mentioned, the DATE builtin function can 
convert 
between most formats (not all).   It's has that ability since OS/390 2.4.   If 
you
don't like that you can use the RDATE or RDATEF (called as a function)
from my web site or CBT file 434. 

It has it's own "base date" based on 1/1/1900 that I use in programs
for subtracting or adding days. 

http://www.mzelden.com/mvsfiles/rdate.txt

--
Mark Zelden - Zelden Consulting Services - z/OS, OS/390 and MVS       
mailto:[email protected]                                        
Mark's MVS Utilities: http://www.mzelden.com/mvsutil.html 
Systems Programming expert at http://expertanswercenter.techtarget.com/

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to