RosettaCodeData/Task/Web-scraping/PowerShell/web-scraping-1.psh
2023-07-01 13:44:08 -04:00

4 lines
165 B
Text

$wc = New-Object Net.WebClient
$html = $wc.DownloadString('http://tycho.usno.navy.mil/cgi-bin/timer.pl')
$html -match ', (.*) UTC' | Out-Null
Write-Host $Matches[1]