|
This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. -- -- [ Picked text/plain from multipart/alternative ] Hi Frank, did you Try with ADDDUR opcode in ILE RPG ?? Its used to add duration to a given date, can be duration in terms of days, months, years. not sure, but the syntax goes something like this.. C ADDDUR:DAYS NoOfDays InputDate > -----Original Message----- > From: Frank W. Kany IV [SMTP:frank.kany@burr-reid.org] > Sent: Tuesday, July 09, 2002 7:58 PM > To: RPG Mailing List > Subject: (no subject) > > This is a multi-part message in MIME format. > -- > [ Picked text/plain from multipart/alternative ] > Is there a BIF or Opcode that will take care of adding days to the system > date? I'd like to add days to the system date using a BIF or Opcode to > take care of leap year calculations and last day of the month > calculations. If the system date is 20020731, I want the result date to > be 20020801, not 20020732. The only way I can think of doing all this is > by writing a lot of code calculations. Hope someone out there has an > easier way. > > TIA, > > Frank W. Kany IV > The Law Offices of Burr & Reid > www.burr-reid.org > -- > > > _______________________________________________ > This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list > To post a message email: RPG400-L@midrange.com > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l > or email: RPG400-L-request@midrange.com > Before posting, please take a moment to review the archives > at http://archive.midrange.com/rpg400-l. ************************************************************************** This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated. **************************************************************************
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.