PowerTip: Use PowerShell to Find Current Time Zone

Doctor Scripto

Summary: Use Windows PowerShell to find the current time zone information.

Hey, Scripting Guy! Question How can I use Windows PowerShell to find my current time zone?

Hey, Scripting Guy! Answer Use the System.TimeZone .Net Framework class with the static CurrentTimeZone property:

PS C:\> [System.TimeZone]::CurrentTimeZone


StandardName                               DaylightName

————                               ————

Eastern Standard Time                      Eastern Daylight Time


Discussion is closed.

Feedback usabilla icon