Ask coding questions

← Back to all posts
How do I make this python clock show the local time?
AmaanSyed2 (1)

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!

Comments
hotnewtop
Coder100 (18873)

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.