Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Date problem
Message
From
11/11/1998 17:13:12
 
 
To
11/11/1998 16:26:30
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00156773
Message ID:
00156788
Views:
27
>Is there an easy way to increment the month in a date type variable ?
>
>ex:
>
>ddate = {01/01/1998}
>
>ddate + ??? = {01/02/1998}

Take a look at GOMONTH()

dDate = DATE()
dAMonthFromToday = GOMONTH(dDate,1)
dSixMonthsAgo = GOMONTH(dDate,-6)
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform