I found a pile of VFP code examples yesterday. The one I've gone with is actually from 1001 Things (Another Hentzenwerke book that continues to provide value and Thanks, Marcia!). That code expects a holidays table which I've almost finished populating. And when I hand it off to the client, I'll let them maintain it going forward but because I'm a hell of a nice guy, I wanted to get the standard ones in place.
(Original thread still hasn't shown up. Wonder if it's stuck in the ProFox spam folder...) -- rk -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Ted Roche Sent: Friday, May 11, 2012 10:41 AM To: [email protected] Subject: Re: testing 123 On Fri, May 11, 2012 at 9:45 AM, Richard Kaye <[email protected]> wrote: > I'm always honored when I say something and you get it, Ted... ;) And I'm always surprised when I get it, too! ;) > The original topic, which still hasn't come through, was looking for a > source for holiday dates I need to implement a business days > calculation routine. And I don't want to key the data in. As usual I > found something to get me started between the time I sent the message > to the list and now. Although for any of you lurkers out there, a nice > pre-packaged DBF would be nice... :) Dates can be a bear. Fixed dates (12/25 or 4 July) are easy, and even "third Monday in Februrary" is not too hard to calculate, but others get pretty weird, like "first Sunday after the first full moon after the spring equinox" and worse. I know a fellow developer who has a specialty app just to calculate High Holidays. http://lmgtfy.com/?q=foxpro+calculate+holidays turns up some promising hits. -- Ted Roche Ted Roche & Associates, LLC http://www.tedroche.com [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/DF1EEF11E586A64FB54A97F22A8BD0441D52D82EBE@ACKBWDDQH1.artfact.local ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

