Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calculate date for End of Month from mmyy
Message
From
22/06/2001 11:30:06
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
22/06/2001 11:21:56
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00522511
Message ID:
00522517
Views:
9
? gomonth(date(2001, 5, 1), 1) - 1
>I need to calulate the end of the month from a character field where first two characters are the month (mm) amd the last two characters are a year (yy). For example 0501 (May 2001) would become 05/31/2001 and 0601 would become 06/30/2001. What is the most efficient way of doing this?
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
Reply
Map
View

Click here to load this message in the networking platform