0

is there anyway to set pc's timezone using by python? like tzutil /s 'timezone name' in cmd.

i'm using os module, but it only shows result but not really be executed.

import os

os.system('cd tzutil /s Central America Standard Time')
ion loi
  • 1
  • 4
  • Does this answer your question? [Setting timezone in Python](https://stackoverflow.com/questions/1301493/setting-timezone-in-python) – FObersteiner Dec 06 '22 at 10:19

0 Answers0