Answer the question
In order to leave comments, you need to log in
Why does datetime error occur?
I have two points
now = datetime.datetime.now()
then = datetime.datetime(2021, 6, 19, 20, 0 , 0)
delta = now - then
minutes = (delta.seconds // 60)
raznica = minutes - ltm
print(str(minutes)+" - "+str(ltm)+" = "+str(raznica))
24 - 1 = 23
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question