.Q.addmonths[x;y]

Where x is a date and y is an int, returns x plus y months.

q).Q.addmonths[2007.10.16;6 7]
2008.04.16 2008.05.16

If the date x is near the end of the month and (x.month + y)’s month has fewer days than x.month, the result may spill over to the following month.

q).Q.addmonths[2006.10.29;4]
2007.03.01