cancel
Showing results for 
Search instead for 
Did you mean: 

UTC to PST time change

RiteshHanda
Level 3
Hi All,
I am building an RPA process to monitor some jobs on another system but that system runs all its jobs/processes in PST timezone but BluePrism default timezone is UTC/localtime(which is CST).

due to time difference, I am facing an issue as missing out jobs/processes while monitoring.

Please suggest any idea of how to convert timezone.

thanks in advance!


Thanks,
Ritesh


------------------------------
Ritesh Handa
Consultant
Sandvik
Asia/Kolkata
------------------------------
1 REPLY 1

RHamlin
Level 2

I would suggest that you write a code stage to read a registry key value (should be just 1 line of code which you can search for).

You can then read the value of the following registry keys:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation\Bias

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation\DaylightBias

 

Between these 2 registry key values you can tell how many minutes you are from UTC regardless of your timezone/daylight savings status.



------------------------------
Rob Hamlin
Developer
LME
------------------------------