var gdt = new GlideDateTime(); var day = gdt.getDayOfWeek(); gs.print("getDayOfMonth="+gdt.getDayOfMonth());
How to get the day of month in ServiceNow (getDayOfMonth)
Working Code Asked question August 8, 2023
var gdt = new GlideDateTime(); var day = gdt.getDayOfWeek(); gs.print("getDayOfMonth="+gdt.getDayOfMonth());