user3136061
user3136061

Reputation: 51

how to set "TZ" environment variable at system level

Can someone please tell me how to set the "TZ" environment variable at system level? And what should be its value for "China Standard Time"?

executing the below command in cmd prompt does not set the value at system level. set TZ=CST8

Upvotes: 0

Views: 4271

Answers (1)

thinker3
thinker3

Reputation: 13301

Run SystemPropertiesAdvanced.exe then manage to set the variable.

or setx TZ CST8

You may need to restart cmd.exe

Upvotes: 1

Related Questions