How to get System Time Zone




I want to show the Current date and time with the Time Zone.
Can someone help me, how to get the System TimeZone in UiPath



I think you can utilize System.TimeZone class.

Create a variable of type TimeZone and intialize as System.TimeZone.CurrentTimeZone.

Variable.StandardName should give you the name of current timezone.



TimeZoneInfo can be used.


Please find the attached workflow to understand better.
TimeZone.xaml (6.5 KB)

Saranya K R

How to get the system time

Thank You!!!
I am getting “(UTC+05:30) Chennai, Kolkata, Mumbai, New Delhi”.
is there any way I can get only “(UTC+05:30)”?


TimeZone.BaseUtcOffset returns only 05:30:00

Another solution is Split string or sub-string function can be used to extract only first few letters.


Thank You Saranya :slight_smile: