Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Add or Subtract Whole Years or Months
Message
 
 
To
27/05/2004 15:30:25
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00907917
Message ID:
00907923
Views:
16
This message has been marked as the solution to the initial question of the thread.
See GOMONTH() function.

>How can I take {^2003/05/27} and add/subtract whole years and months? For example, I want to add 1 year and get {^2004/05/27} or subtract 2 months and get {^2003/03/27}.
>
>Do I need to use DTOC, parse it out, do some math, concantanate it back together and then use CTOD to get it?
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform