Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Last day of month
Message
 
To
06/10/2000 10:03:53
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00425898
Message ID:
00425912
Views:
11
Try this code ...

dEOM = GOMONTH(dDate,1) - DAY(GOMONTH(dDate,1))

where "dDate" is the date you are trying to find the end of month for.


Cathy
Cathy Pountney, Microsoft Visual FoxPro MVP
Memorial Business Systems, Inc. (www.mbs-intl.com)

My Website: (www.frontier2000.com)
My Blog: (www.cathypountney.blogspot.com)
My Book: The Visual FoxPro Report Writer - Pushing it to the Limit and Beyond
Free MSDN Article: What's New in the VFP 9.0 Report Writer
Free MSDN Article: The VFP 9.0 Report Writer In Action
Previous
Reply
Map
View

Click here to load this message in the networking platform