How to change timezone in

Hi UiPath,

I need help with my problem

let say I am using the get outlook activity with filter the filter:

right now, it is extracting the today’s email based on the VM time but the VM have different Timezone compared to our Time zone

I can’t change the timezone of the VM due to some restriction

I want the get outlook activity to get today’s email based on timezone+8:00 Beijing

Is that possible?



Refer to below expression

str_datetime = Datetime.ParseExact(Strinput.ToString, “MM-dd-yyyy”, System.Globalization.CultureInfo.InvariantCulture).ToString(“dd/MM/yyyy”, New CultureInfo(“de-DE”))

refer the post for more about date time.

we can get a list of Timezones:


And be used e.g.