RPGLE calculation of date

290 pts.
Tags:
RPGLE
I had a requirement to calculate a due date based on given date + n number of days. The due date should exclude Saturday and Sunday comes in between the range. Is there any way to achieve this? For eg.  if 15 days add to 6 May, 2016, then the due date should be 27 May, 2016.


Software/Hardware used:
RPG, RPGLE, Free RPG
0

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question: 5  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: