Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting Dates
Message
 
 
To
24/05/2005 08:43:02
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:
01017024
Views:
20
ldDate = DATE()
* Next Year
? GOMONTH(ldDate,12)
* Previous Year
? GOMONTH(ldDate,-12)
>Sorry, I didn't word that question very well, I meant any given date in a variable. I have an
anniversary date that I will always need to know a year back, and a year forward.
>Thanks,
>Becky
>
>>One Year Ago:
>>
Date() - 365
>>
>>One Year From Now:
>>
Date() + 365
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform