Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2024 08:44 AM
Hi @Jose MMR
Use below script
var userInputDate = "01/10/2024";
var formattedDate = userInputDate.split("/").reverse().join("-") + " 00:00:00";
var a = new GlideDateTime();
a.setDisplayValue(formattedDate, "yyyy-MM-dd HH:mm:ss");
Please mark this response as Correct and Helpful if it helps you can mark more that one reply as accepted solution
Thanks
Eshwar