Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do you add a month to datetime()
Message
From
19/07/2006 03:56:08
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
How do you add a month to datetime()
Miscellaneous
Thread ID:
01137516
Message ID:
01137516
Views:
60
How do you add a day or a month to a datetime? Do you have to convert things to seconds like below, or is there a better way?
dt1 = datetime()
* Add 2 months:
nseconds = 2*31*24*60*60
?dt1, dt1 + nseconds
Cyril
Next
Reply
Map
View

Click here to load this message in the networking platform