Date calculate based on selected time zone
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2025 06:56 AM
Hi Everyone,
The instance is following IST time zone and all users profiles are also in IST time zone,
now based on schedule visit date time and time zone i need to calculate the date and time and populate in the field.
but it's not working expected.
script include:
----------------------------------------
------------
any suggestions pls.
Regards,
Rajesh
any suggestions pls.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2025 08:07 AM
you can use a flow variable and store the calculated date/time in that and then use that in your flow
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
04-16-2025 08:23 AM
Hi @Ankur Bawiskar ,
it showing like this, now my Question is it will start at duration time or wake up time mentioned in the action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2025 12:36 PM - edited 04-11-2025 12:37 PM
If you are using a Flow; I believe Transform Function will help you here.
To change the time from UTC to your local time, Please refer to the "Localize a field value's time zone"
I hope this will help.
Thank you,