How to convert date format in Flow Designer?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
I need to convert the date format to yyyy-mm-dd in flow designer using a inline script
my trigger is a problem task record which contains a due_date field.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
Hi @Kiran_25
https://www.servicenow.com/community/developer-forum/format-date-in-flow-designer/m-p/2720379
Try the script below.
var dt = fd_data._1__get_catalog_variables.recording_ends_date;
var gd = new GlideDate();
gd.setValue(dt);
return "Recording on:" + gd.getByFormat('MM-dd-YYYY');
****************************************************************************************
Regards
Dr Atul G. - Learn N Grow Together ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
******************************************************************************************
Regards
Dr Atul G. - Learn N Grow Together ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
******************************************************************************************
