UTC to PST time change
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-09-19 08:06 AM
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
------------------------------
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-09-19 09:03 AM
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
------------------------------
