>>>How do I calculate the end of the Month for any given year and month?
>>
>>
ldDate = Date()
>>ldEOM = gomonth(ldDate-day(ldDate)+1,1) - 1
>It's even simpler for month and year
>
>lnYear = 2000
>lnMonth = 2
>ldEOM = Gomonth(Date(lnYear, lnMonth, 1),1) - 1
Hi Sergey,
This one is a real candidate to a FAQ :) Would you please add this info in FAQ section here?
Thanks in advance.
If it's not broken, fix it until it is.
My Blog