Skip To Content
PowerShell Gallery
Toggle navigation
Packages
Publish
Documentation
Sign in
Search PowerShell packages:
OSD
21.9.14.1
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
]
}