Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Datetime() operations
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01411971
Message ID:
01411974
Views:
40
>Can I operate directly to a datetime() with using numeric to characters transformations ?
>
>For example:
>
>store datetime() to my datime
>
>Sum 40 mintures to myDatetime
>
>Sum 2 hours to myDatetime
>
>Moises

The question is not clear.

If you want to add 40 minutes, then use

40*60

If you want to add 2 hours, then use

2*60*60.

The incrementing of datetime value is done in seconds.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform