SQL DATEADD (DATE_PART, Nummer, Datum)

SELECT DATEADD(month, 1, '2022-08-31');
-- outputs: 2022-09-30 00:00:00
SAMER SAEID