plusMonths

open fun plusMonths(months: Int): GlobalDateTime

Return a new dateTime/time which is the specified number of months ahead of this dateTime.

Return

A new dateTime/time which is the specified number of months ahead of this dateTime.

Parameters

months

Number of months to add. Can be negative, zero or positive.