Skip To Content
PowerShell Gallery
Toggle navigation
Packages
Publish
Documentation
Sign in
Search PowerShell packages:
OSD
23.5.26.2
Private/MSCatalog/Invoke-ParseDate.ps1
function
Invoke-ParseDate
{
param
(
[String]
$DateString
)
$Array
=
$DateString
.
Split
(
"/"
)
Get-Date
-Year
$Array
[
2
]
-Month
$Array
[
0
]
-Day
$Array
[
1
]
}