
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2025 11:59 AM
I am working on a Contract template, and the request is to have the date format come across as examples of June 20, 2025 or June the 20th, 2025.
I have the Template mapping field for the Contract Start Date from the catalog item, but no matter what I try, I cannot seem to get it formatted correctly.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2025 10:29 AM
@Ankur Bawiskar you put me on the right track, I modified it slightly to meet the requirements. Thank you!
var gd = new GlideDate();
gd.setValue(taskGr.variables.start_date);
return gd.getByFormat("MMMM dd, YYYY").toString();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2025 11:15 PM
you can use script option
var gd = new GlideDate();
gd.setValue(mappingFied);
return gd.getByFormat("MMM dd, YYYY");
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2025 10:29 AM
@Ankur Bawiskar you put me on the right track, I modified it slightly to meet the requirements. Thank you!
var gd = new GlideDate();
gd.setValue(taskGr.variables.start_date);
return gd.getByFormat("MMMM dd, YYYY").toString();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2025 08:55 PM
Glad to know.
Please mark my response as correct as I provided you the solution or provided the correct guidance.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader