Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2022 11:06 AM
Hello , Try something like this for example . Not tested but give a try by running on background script.
Example:
var date = new Date("2013-03-10T02:00:00Z");
date.toISOString().substring(0, 10)
Incase the Date doesn't work use the servicenow one GlideDate()
Mark my Answer as Correct and Helpful if it helps