Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determining the End of the Month
Message
From
18/03/1999 11:05:52
Walter Meester
HoogkarspelNetherlands
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00199069
Message ID:
00199238
Views:
24
Stephen,


>*-- last day of the current month
>mdate2=gomonth(date(),1)-day(date())

This would go wrong when the date = jan 31

this should be:
mdate2=gomonth(date()-day(date())+1,1)-1

Regards, Walter
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform