The string:
$datestring = "27. januar 2016 04:20:17"
Convert this to date:
$date = [datetime]::ParseExact("$datestring","dd.MM.yyyy hh:mm:ss",$null)
– F
The string:
$datestring = "27. januar 2016 04:20:17"
Convert this to date:
$date = [datetime]::ParseExact("$datestring","dd.MM.yyyy hh:mm:ss",$null)
– F