python 获取系统时区

 

 

from tzlocal import get_localzone
tz = get_localzone()


print(tz)

 

posted @ 2021-10-09 19:21  AngDH  阅读(403)  评论(0编辑  收藏  举报