var gdt = new GlideDateTime("2011-08-31 08:00:00"); gdt.addMonthsUTC(2); gs.info(gdt.getDate());
How to Adds a specified number of months to the current GlideDateTime object ServiceNow
admin Changed status to publish December 19, 2023
var gdt = new GlideDateTime("2011-08-31 08:00:00"); gdt.addMonthsUTC(2); gs.info(gdt.getDate());