Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting the last day.
Message
From
09/10/2001 16:44:02
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
09/10/2001 16:41:12
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00566150
Message ID:
00566188
Views:
17
>Andrews, try this:
>
> ldLastDay = GOMONTH(date(), 1) - day(date())
>
>
>It works for me every time.

Try it for Jan. 31. It doesn't work correctly.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform