u/dextersgenius
Blogs, Articles, and Posts
[PSA] Do not use [DateTime]$var to cast a String to a DateTime object, use Get-Date instead
(reddit.com)
Looks like casting via [DateTime] doesn't respect the culture (d/MM/yyyy in my case), but Get-Date
By: u/dextersgenius submitted:Jun 16 2022
Looks like casting via [DateTime] doesn't respect the culture (d/MM/yyyy in my case), but Get-Date
does.
By: u/dextersgenius submitted:Jun 16 2022