Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change the date, year and month
Message
 
To
15/01/2002 12:25:31
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00604905
Message ID:
00604940
Views:
23
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform