Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
One Day
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00878450
Message ID:
00878451
Views:
18
>Hi everybody,
>
>I would like to increase a Date or DateTime field by one day. What is one day for both of these types? Is there any function that returns one day?
>

Ali

You can add/substract days to a date value and seconds to a datetime value.
* Date
ldDate = DATE()
ldDate = ldDate + 1   && +1 day
* Datetime
ltDatetime = DATETIME()
ltDatetime = ltDatetime + 86400     && +1 day = 60*60*24   
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform