Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Auto Increament of Month in dealing with dates
Message
 
À
24/05/1998 21:00:45
Tan Gay Cheong
Cybercomp Computer Services
Singapore, Singapour
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00101572
Message ID:
00101574
Vues:
19
>How can code in order to show a list of date with an increament of 1 month?
>
>Example,
>
>1st date = 1/4/98
>2nd date = 2/4/98
>3rd date = 3/4/98
>
>and so on...
>
>Note only change in month and not date, hence not adding 30 to day.
>How to add 1 to month?

Tan, check out GOMONTH() function
TodayPlusOneMonth = gomonth(date(),1)

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform