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