0

var gd = new GlideDate();
gs.print(gd.getByFormat("MMMM"));

Output:

December
How to Print current month name in ServiceNow
Working Code Asked question December 16, 2023