|
From: Chris Whisonant <chris.whisonant@comporium.com> End > Just a thought, but could you CVTDAT from (say) *SYSVAL format (02212002) to > *JUL (yyddd), add 1 to the *JUL date, then CVTDAT back from *JUL to *SYSVAL, > then see if the "dd" position = "01". If so, then the date is the last day > of the month. > > Haven't tried it, but it's worth a shot. no, it would just compute tomorrow's date and may even complain on 12/31.
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.