Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determining the End of the Month
Message
 
To
18/03/1999 11:05:52
Walter Meester
HoogkarspelNetherlands
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00199069
Message ID:
00199267
Views:
19
Learn someting new here every day! I never post the EOM() date in my applications. Just FOM() and TODAY().

Now with the Mere Mortals framework the date classes use Quicken like key strokes so I don't have to do anything! FTYR all get the right dates.

__Stephen Russell


>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
Reply
Map
View

Click here to load this message in the networking platform