Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DateTime Function
Message
 
To
12/08/1998 09:12:39
Scott Knight
Human Resources Development Canada
St. John's, Newfoundland, Canada
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00125965
Message ID:
00126299
Views:
14
>How do I add a day to DateTime(). When Using the Date() function is was possible to say date() + 1. DateTime() + 1 increases the seconds by one which kind of makes sense I guess. I need to add one day (or multiple days) to a date time value.
>
>Thanks in Advance
>
Scott,

ldDateTime = DATETIME()
ldDateTime = ldDateTime + (nDays*86400)
Previous
Reply
Map
View

Click here to load this message in the networking platform