Time zone settings in computers has a lot of purposes, of
course it can tell you the time when to knock off from work. 😊
But there’s a lot of other purposes and having a time zone that is different
from software application that is expecting, then unexpected issues may arise.
Sample output:
Database must be in sync with a correct time zone or else
time stamp on database records will be inaccurate, system logs must also be in
a correct time zone or else when diagnosing the logs or data will be an issue.
There are other issues that requires to have a correct time zone setting set on
your computer. Checking whether the correct time zone is set on your computer can easily be done in PowerShell.
So, how to get time zone settings in PowerShell?
Here’s the code:
Get-CimInstance Win32_TimeZone | select caption
Windows 10 does support a setting with multiple time zone, here’s
an output from above PowerShell with two time zone set on a computer.
Sample output:
caption
-------
(UTC+08:00) Kuala Lumpur, Singapore
Cheers..till next time!
================================
Free Android Apps:
Click links below to find out more:
Excel Keyboard guide:
Heaven's Dew Fall Prayer app for Android :
Catholic Rosary Guide for Android:
Comments
Post a Comment