Created
August 31, 2024 06:15
-
-
Save stesee/f90afeb42a9b30c5192e40be722257ac to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$response = Invoke-WebRequest 'google.at' | |
$response.headers.Date | |
# Sat, 31 Aug 2024 05:31:49 GMT | |
$parsedDate = [datetime]::Parse($response.headers.Date) | |
set-date $parsedDate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment