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/caawxvunvu09o+g4dfqxm-pip1pp_rsx6l-f35zq4fcbz-az...@mail.gmail.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.