Hi Eric I've taken a look at your DateTime class and, as you say, it's a work in progress. Would you be kind enough to keep us informed of updates?
Many Thanks Paul Newton -----Original Message----- From: ProFox [mailto:[email protected]] On Behalf Of Eric Selje Sent: 16 May 2018 23:29 To: ProFox Email List <[email protected]> Subject: Re: Fun with date calculations in VFP Updated. Clearly a lot of stuff left to do on this class! I got distracted by "work" but feel free to clone and contribute. set proc to datetime addi _vfp.addoboject("DateTime", "DateTime") && Now it's always available ? _vfp.DateTime.FirstDayOfMonth() && 05/01/2018 ? _vfp.DateTime.FirstDayOfMonth(gomonth(date(),1) && 06/01/2018 ? _vfp.DateTime.LastDayOfMonth() && 05/31/2018 ? _vfp.DateTime.LastDayOfMonth(2012,2) && 02/29/2012 ? _vfp.DateTime.IsLeapYear(2012) && .t. Eric On Wed, May 16, 2018 at 5:02 PM, Ted Roche <[email protected]> wrote: > LastDayOfMonth() or LDOM back in my 8.3 days, was always a popular request: > > http://fox.wikis.com/wc.dll?Wiki~FindingTheLastDayOfTheMonth~VB > > -- > Ted Roche > Ted Roche & Associates, LLC > http://www.tedroche.com > [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/by2pr0201mb1847aef33ff28d5a59d4010ca1...@by2pr0201mb1847.namprd02.prod.outlook.com ** 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.

