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.
As EST is UTC-0500 and PDT is UTC-0700, so we can get PDT from EST to subtract 2 hours.
You can use this to convert from any to any
TimeZoneInfo.ConvertTime(DateTimevariable, TimeZoneInfo.FindSystemTimeZoneById("Eastern Standard Time"), TimeZoneInfo.FindSystemTimeZoneById ("Pacific Daylight Time"))