Exercise: Import Date, Enforce Mandatory, and Coalesce
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago
I'm working on
Exercise: Import Date, Enforce Mandatory, and Coalesce
I have an issue with the
Set the Date format for the u_must_have_by Field Map.
- In the Transform Map, scroll to the Field Maps related list.
- Click the u_must_have_by link in the Source field column of the Field Map.
- Change the Date format to MM/dd/yy.
- Click the Update button.
Unable to find the Date format mentioned above. I can see MM-DD-YY which is gives me incorrect results when I Run Transform map. Can anyone assist me with this?
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
27m ago
Use a source script like this
var mustHave = source.u_must_have_by;
var gdt = new GlideDateTime();
gdt.setDisplayValue(incomingDateStr, "MM/dd/yy");
var mustHaveDate = gdt.getDate()
