Need help in Time conversion to PDT

Hi,

I had a scenario where time display in some timezone which are as EST, CST, MST, PST etc etc now my requirement is to get the time in PDT

for eg If time is 04:30 EST i have to get this time in PDT.
How we can do this in UiPath. If anyone has some solution please share.

Hi,

As EST is UTC-0500 and PDT is UTC-0700, so we can get PDT from EST to subtract 2 hours.

Regards,

Hi,

You could try this from market place:
Time Zone Converter - RPA Component | UiPath Marketplace

OR

You can follow the below thread too:

Solution on how to convert DateTime variables between UTC and Local or a specific timezone - Help - UiPath Community Forum

Thanks.

@Puneet_Singh1

You can use this to convert from any to any

TimeZoneInfo.ConvertTime(DateTimevariable, TimeZoneInfo.FindSystemTimeZoneById("Eastern Standard Time"), TimeZoneInfo.FindSystemTimeZoneById ("Pacific Daylight Time"))

Cheers

1 Like