DateInterval.Constructor(years As Integer = 0, months As Integer = 0, days As Integer = 0, hours As Integer = 0, minutes As Integer = 0, seconds As Integer = 0, nanoseconds As Integer = 0)
From Xojo Documentation
Constructor
DateInterval.Constructor(years As Integer = 0, months As Integer = 0, days As Integer = 0, hours As Integer = 0, minutes As Integer = 0, seconds As Integer = 0, nanoseconds As Integer = 0)
Specifies an interval using the various properties to create a date and time.
Sample Code
Creates a date that is two months from today and two months before today: