Skip to content

dateTime::addMonths

addMonths(dateTime: DateTime, months: Integer)

ParameterTypeDescription
dateTimeDateTime
monthsInteger

Returns

(DateTime) A new DateTime with months added.