Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Change the date, year and month
Message
 
À
15/01/2002 12:25:31
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00604905
Message ID:
00604940
Vues:
24
>But there is a shorter way :
>>>>
>>>>thisform.oleControl1.OBJECT.value = datetime()
>>>>
>>>>Cetin
>
>
>Cetin - this worked like a charm. Thank you. In order to navigate to Next Year I plan to do:
>
>
thisform.oleControl1.Object.value = datetime() + 365
>
>or
>
>thisform.oleControl1.Object.value = datetime() - 365
>
>for the previous year. Would that work?
>
>TIA.
>
>- Ravi

Datetime() do the calculation in seconds.
Use gomonth(datetime(),12)

:-)
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform