<DateTime difference> Difference of timezone after conversion from UTC to PST (excluding sat and sunday)

  1. This is UTC time. We’re trying to conert it into PSt timezone.
    StrInput(UTC) = “2024-04-07T19:11:57.039Z”
    strInput(PST) = ?
  2. We’ve to subtract current PST time zone from strInput (PST)
  3. 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

@anjali123,

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 :slight_smile: