Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding 1 year to a date
Message
 
To
17/10/2000 10:11:13
Christian Cote
Les Logiciels Onoma Inc.
Longueuil, Quebec, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00430291
Message ID:
00430300
Views:
23
This message has been marked as the solution to the initial question of the thread.
What version of fox are you using? If VFP6, you can use GOMONTH(,12*<#years>)

Bill
>HI,
>I need to add 1 or more year to the start date in a lease application. I use dStartdate + 365 but it does not work for leap years. I coul do something like YEAR(dStartdate) MOD 4 but I was wandering if there was not a simpler method.
>
>Thank you,
>Christian
Bill Mittenzwey
Previous
Reply
Map
View

Click here to load this message in the networking platform