Home > Mobile >  How to retrieve date time with the correct time zone
How to retrieve date time with the correct time zone

Time:05-20

In a batch file I retrieve the date time with that:

REM --------Retrieving date time
for /f %%x in ('wmic path win32_utctime get /format:list ^| findstr "="') do set %%x
set Month=0%Month%
set Month=%Month:~-2%
set Day=0           
  • Related