Need to set date and time variable value in catalog task short description.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2025 01:57 AM
Hi all,
I need to set a Date and Time variable value in the Catalog Task Short Description using Flow Designer. However, when I try to do this, the time shown in the short description is converted to UTC (the ServiceNow server time zone) instead of showing the user's selected time zone.
I want the short description to display the date and time in the user's time zone, not in UTC.
Please suggest.
Thank you all.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2025 02:12 AM
If it's only to be used in a string format you can use the transform function like this.
Hope this helps!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2025 02:20 AM
please use getDisplayValue() on that date/time object while setting the value using f(x) inline script
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
07-25-2025 06:59 AM
Hope you are doing good.
Did my reply answer your question?
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