- This is UTC time. We’re trying to conert it into PSt timezone.
StrInput(UTC) = “2024-04-07T19:11:57.039Z”
strInput(PST) = ? - We’ve to subtract current PST time zone from strInput (PST)
- While doing above difference calculation(in hours format) we need to exclude sat-sun?
Hi!
Take a look at this thread
How to convert the UTC to the normal DateTime format? - Help / Studio - UiPath Community Forum
Conversion we have already done. But we want rest of inputs or solution
Here is one approach which will give you total hours difference between input date in UTC and current date in PST.
Sample code:
TimeZoneDemo.xaml (11.9 KB)
Thanks,
Ashok