Post
PowerShell
How to Convert a String to Date Variable in Powershell?
Posted on 31st May 2023
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)
STILL GOT QUERIES?
Copyright © 2013 - 2023 MindMajix Technologies