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