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