Isn't RPG intuitive enough to figure out that if the current month ends
in 31 and the previous month (whatever that happens to be) is <> 31 to
just go the previous day closest to it?
I certainly would hope so. God forbid I have to program some ridiculous
function to do that when practically every other language can handle it.
Oy vey...
/b;
-----Original Message-----
From: Scott Klement [
mailto:rpg400-l@xxxxxxxxxxxxxxxx]
Sent: Thursday, May 17, 2007 2:29 AM
To: RPG programming on the AS400 / iSeries
Subject: Re: 3 Months Ago?
Simple? Yes and no... just wait until it's May 29th and you try to find
out what the date was 3 months ago.
Captain Jerry wrote:
So simple. Thanks Bob & Scott
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.