Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding 1 year to a date
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00430291
Message ID:
00430567
Views:
15
>You could use another method (other than GOMONTH() for this one), but believe me, it wouldn't be pretty. So...

?iif(day(dDate + 365) < day(dDate), 366, 365) + dDate

Thats not too bad.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform