Files
PS-SetEtikettenSorte/test.ps1
2026-03-27 00:30:51 +01:00

6 lines
155 B
PowerShell

$Datum = "26.03.2026"
$parsedDate = [datetime]::ParseExact($Datum, "dd.MM.yyyy", $null)
$OutDate = $parsedDate.ToString("yyyy-MM-dd")
Write-Host $OutDate