Swift 5: let months: Int = 3 let date: Date = Date() let calendar: Calendar = Calendar.current let nextDate: Date? = calendar.date( byAdding: Calendar.Component.month, value: months, to: date )