Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

get time zone windows cmd

# 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
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #time #zone #windows #cmd
ADD COMMENT
Topic
Name
8+8 =