Is the time here in Greenwich?
from datetime import datetime print(datetime.today()) My code here to check it out: https://code.sololearn.com/ctj14RQ8U5Ys/?ref=app Thank you for your help😊💕✨💗
Instead of parsing the time manually, you can just use datetime.today().hour <= this tells me that it's 21:40 (9:40 PM), your code says 22:40 but it's really 23:40 CEST, so I think it's Greenwich - 1 hour (UTC)
When I made it offline it is working correctly,but after I have posted it everyone say same time then I said maybe in Greenwich I search in Google I saw the time in my code same time in Greenwich so I asked to make it sure
I need answer https://www.sololearn.com/discuss/1810804/?ref=app
here's a one line solution print(time.asctime(time.localtime(time.time())))
Tahir Iqbal send it again