Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2023 07:56 AM
something like this
var terminationDate = current.variables.termination_date.getDisplayValue();
gs.info("Termination Date" + terminationDate);
answer = gs.dateDiff(new GlideDateTime(), terminationDate, true);
Regards,
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader