Generation

code to explanationFri, 07 Apr 2023

@echo off title PROGNOST Systems GmbH mode con: cols=75 lines=15 cls @echo off REM Set time for /f "tokens=2 delims==" %%I in ('wmic os get localdatetime /format:list') do set datetime=%%I set D=%datetime:~0,4%-%datetime:~4,2%-%datetime:~6,2%T set DBstamp=DB_%datetime:~0,4%%datetime:~4,2%%datetime:~6,2%_V REM get "UTC" and remove "UTC" from string

set UTC=%datetime:~8,2% set UTC=%UTC:~0,2%

Questions about programming?Chat with your personal AI assistant