Posted on 16th September 2024|182 views
How to Convert a String to Date Variable in Powershell?
Posted on 16th September 2024| views
In Powershell, there are many ways for converting a String to a Date Variable one way is typecasting, through the parsing of Date Time.
Syntax:
[DateTime]:: ParseExact(‘16/05/2019’ , ‘MM/dd/YYYY’ , $null)