Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Auto Increament of Month in dealing with dates
Message
 
To
24/05/1998 21:00:45
Tan Gay Cheong
Cybercomp Computer Services
Singapore, Singapore
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00101572
Message ID:
00101574
Views:
17
>How can code in order to show a list of date with an increament of 1 month?
>
>Example,
>
>1st date = 1/4/98
>2nd date = 2/4/98
>3rd date = 3/4/98
>
>and so on...
>
>Note only change in month and not date, hence not adding 30 to day.
>How to add 1 to month?

Tan, check out GOMONTH() function
TodayPlusOneMonth = gomonth(date(),1)

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform