change date format

This commit is contained in:
MyDrift 2024-08-27 16:47:01 +02:00
parent 1ba19ab89c
commit 6ab9b131b8

View File

@ -27,7 +27,7 @@ if ($Run) {
$PARAM_RUN = $true $PARAM_RUN = $true
} }
$dateTime = Get-Date -Format "dd-MM-yyyy_HH-mm-ss" $dateTime = Get-Date -Format "yyyy-MM-dd_HH-mm-ss"
$logdir = "$env:localappdata\winutil\logs" $logdir = "$env:localappdata\winutil\logs"
[System.IO.Directory]::CreateDirectory("$logdir") [System.IO.Directory]::CreateDirectory("$logdir")