# Get timezone offset on windows from command line, commands prints: +02:00 for /f "tokens=2 delims=C)" %a in ('wmic timezone get caption /value') do @set tzone=%a && echo %tzone% # https://stackoverflow.com/a/32835872/9034699