Is there an easy way in RPG/400 to convert a date in MMDDYY format to a date in YYMMDD format?
Using a 6-digit date field, multiply the date by 10000.01. To convert back to MMDDYY format, multiply by 100.0001.
Dig Deeper on iSeries CL programming
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.