Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Last day of month
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Vista
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01340781
Message ID:
01340785
Views:
16
This message has been marked as a message which has helped to the initial question of the thread.
>hi,
>is there a routine that returns the last day of the month? something like lastdayofmonth(date()) giving me 31 for the month of august etc. I could write a routine but thought i saw one before but cannot find it.
>~M
GoMonth(date(MyYear, MyMonth,1),1) -1
See also Some useful date functions FAQ #7661
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform