var currentdate = new GlideDate();
gs.print(currentdate.getByFormat("MM-dd-yyyy"));
Get today's date in MM-DD-YYYY format without time ServiceNow
admin Changed status to publish December 26, 2023
var currentdate = new GlideDate();
gs.print(currentdate.getByFormat("MM-dd-yyyy"));