← Back to Community
How do I make this python clock show the local time?
Profile icon
AmaanSyed2

Hello replit community, I made this python clock but it does not show the right time. It also shows an error which I do not understand so can anyone help solve this problem? Thank you!

Voters
Profile icon
AmaanSyed2
Comments
hotnewtop
Profile icon
Coder100

To do that, replit needs to know where you are, which they can't do. Replit runs in a VM, and by default the use the GMT time.