PowerTip: Use PowerShell to Find Current Time Zone

PowerTip: Use PowerShell to Find Current Time Zone

  • Comments 1
  • Likes

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

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment