Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting Dates
Message
From
24/05/2005 08:53:20
 
 
To
24/05/2005 08:34:09
Rebecca Stottlemire
Kansas State Department of Commerce
Topeka, Kansas, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01017014
Message ID:
01017026
Views:
23
>Is there a quick and easy way to get one year ago, and one year from now?
>Thanks!

Use GOMONTH():

GOMONTH(dDate, 12) is one year in the future
GOMONTH(dDate, -12) is one year in the past

Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform