Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Somar Número com data
Message
 
To
27/02/2003 13:03:39
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00758899
Message ID:
00758951
Views:
13
Alow Luiz,

Sim ... é possível...

Exemplos:
* Define formato da data
Set Strictdate To 0
Set Date British
* Soma em dias:
? Date() + 7
? Date() + 150
? Date() - 10
* Soma em meses
? GoMonth(Date(),1)
? GoMonth(Date(),5)
? GoMonth(Date(),-3)
* Outros exemplos
? {11/05/2003} - {02/05/2003}
? {01/01/2002} + 150
? GoMonth({10/10/2005},3)
Divirta-se! ;-)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Rodolfo Duarte
Previous
Reply
Map
View

Click here to load this message in the networking platform