The Now Platform® Washington DC release is live. Watch now!
‎07-11-2018 08:52 AM
How to get today's date in MM-DD-YYYY format without time in script?
Solved! Go to Solution.
‎07-12-2018 10:10 AM
var currentdate = new GlideDate();
currentdate.getByFormat("MM-dd-yyyy");
‎07-11-2018 09:00 AM
new GlideDateTime.getDate(); should do the trick.
‎07-11-2018 11:35 AM
‎07-12-2018 11:47 AM
Oops forgot the parens: new GlideDateTime().getDate();
‎02-19-2020 08:22 AM
thanks!!