|
Here's how I get the last previous Friday to any date. It'd be the same algorityhm to get the next monday from the 1st of any month. http://www.martinvt.com/Code_Samples/Date_Math/date_math.html I don't know how to handle holidays except by table. --------------------------------------------------------- Booth Martin http://www.MartinVT.com Booth@xxxxxxxxxxxx --------------------------------------------------------- -------Original Message------- From: RPG programming on the AS400 / iSeries Date: Wednesday, March 05, 2003 15:38:59 To: rpg400-l@xxxxxxxxxxxx Subject: calculate first monday or working day Anyone have any code or formula that will calculate the first monday or first working day of the month for any given year? TIA, Frank
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.