Pinned Loading
-
Informative "uptime" function for po...
Informative "uptime" function for powershell on Windows 1function runtime {
2function extractDate($text, $type) {
3$regex = '.*?' + $type + ' Time: (?:.?(\d{4}).?-.?([01]\d).?-.?([0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+(?:[+-][0-2]\d:[0-5]\d|Z))).*?'
4$date = ( % {[regex]::Match($text, $regex)}).Groups
5return Get-Date($date[1].Value + "-" + $date[2].Value + "-" + $date[3].Value)
-
IEEE-SB-Passau/adventcalendar
IEEE-SB-Passau/adventcalendar PublicEvaluation system for programming advent calendar.
JavaScript 1
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.