파이썬에서 현재 사용중인 시스템의 시간대(timezone) 정보 확인
파이썬에서 현재 사용중인 시스템의 시간대(timezone) 정보를 조회할 수 있습니다. tzlocal 모듈의 get_localzone() 함수를 이용하면 간편하게 가능합니다.
import tzlocal
sys_tz = tzlocal.get_localzone()
print(str(sys_tz))
Asia/Seoul
@joviansummer의 스팀 프로젝트
스팀 증인노드를 운영중입니다. @jswit에 증인투표해 주시면 감사하겠습니다.
(https://steemitwallet.com/~witnesses)
@jsup !blog
Blogger url: http://joviansummer.blogspot.com/2024/03/timezone.html
Thank you, friend!


I'm @steem.history, who is steem witness.
Thank you for witnessvoting for me.
please click it!
(Go to https://steemit.com/~witnesses and type fbslo at the bottom of the page)
The weight is reduced because of the lack of Voting Power. If you vote for me as a witness, you can get my little vote.
Upvoted! Thank you for supporting witness @jswit.