DateInterval.Months

From Xojo Documentation

Property (As Integer )
aDateInterval.Months = newIntegerValue
or
IntegerValue = aDateInterval.Months

Supported for all project types and targets.

The number of months in the interval.

Sample Code

Get a date two months from today:

Var di As New DateInterval
di.Months = 2 // 2 months

// Get date two months from today
Var d2 As Date = Date.Now + di