addmonth problem
Jay R. Ashworth
jra at baylink.com
Tue Apr 29 13:33:37 PDT 2008
On Tue, Apr 29, 2008 at 02:34:24PM -0400, Kenneth Brody wrote:
> > Sorry for the miss type of the dates but should not addmonth using the last
> > day of February yield the last day of March?
>
> Why? One month after the Nth day of a given month is the Nth day of the
> next month. The only exception is when that would put it beyond the end
> of the month, such as one month after Jan 31.
Well, if you wanna be *picky*, "one month" is not a *duration* which
you can add to a date. Is "one month" 30 days? 31? 28?
29?
The problem is that the underlying definition is made up in the first
place.
Cheers,
-- jra
--
Jay R. Ashworth Baylink jra at baylink.com
Designer The Things I Think RFC 2100
Ashworth & Associates http://baylink.pitas.com '87 e24
St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274
Those who cast the vote decide nothing.
Those who count the vote decide everything.
-- (Joseph Stalin)
More information about the Filepro-list
mailing list