now() in Python does not give the system time but rather UTC time

后端 未结 0 829
难免孤独
难免孤独 2020-12-08 03:32

I was expecting that datetime.datetime.now() will give the system current time, but it rather gives the UTC time. For example, my computer clock shows 22:00:00 but now() giv

相关标签:
回答
  • 消灭零回复
提交回复
热议问题