The codes below provides date calculations within a CL program for adding and subtracting a given number of days from a given date and returns result dates in a specified format. Return values between two dates for months, days and years. The day of the week name and numbers are also returned.
Click here to view the Retrieve Date Calculation Command Processor (RTVDTECMD).
MORE INFORMATION ON THIS TOPIC
The Best Web Links: tips, tutorials and more.
Ask your programming questions--or help out your peers by answering them--in our live discussion forums.
Ask the Experts yourself: Our application development gurus are waiting to answer your programming questions.