Skip to content
← Back to Community
Shows your local time
Profile icon
DEMONul1234

Shows your local time(Day.month.year.hour)for more info just click.

Voters
Profile icon
DEMONul1234
Comments
hotnewtop
Profile icon
clientevent

The reason it does not always work is it tells you what the time is where the server is hosted.

Profile icon
Bookie0

um right now it isnt 10 pm...

Profile icon
DEMONul1234

It worked, damn it :( @Bookie0

Profile icon
DEMONul1234

Oh, it works in my Visual studio code but not here [email protected]

Profile icon
Bookie0

check out my tutorial on how to make the time for each city: https://repl.it/talk/learn/How-To-Get-The-Time-alarm-clock-python/43965 @DEMONul1234

Profile icon
CodeLongAndPros

@Bookie0 That won't work for date operations.

Profile icon
Bookie0
Profile icon
CodeLongAndPros

@Bookie0 Try doing elapsed time what ctime()

Profile icon
Bookie0

does that have the possibility of finding the time of many cities?
@CodeLongAndPros

Profile icon
gibbsfreenergy

Yeah Bookie's was really accurate!!
Yo Bookie can you make the hold time a bit longer in your post. @Bookie0

Profile icon
Bookie0

wdym hold time? do you mean how long the time goes on? for that, its line 39, just change the number in paranthesis:

Screen Shot 2020-07-06 at 8.11.31 AM
@JosephSanthosh