Posted on 28th April 2025|182 views
How to Convert a String to Date Variable in Powershell?
Posted on 28th April 2025| 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)