Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Date problem
Message
De
11/11/1998 17:13:12
 
 
À
11/11/1998 16:26:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00156773
Message ID:
00156788
Vues:
28
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform