Oct-29-2022, 03:10 PM
(Oct-28-2022, 11:20 PM)jehoshua Wrote: so the code thought the month was 29
The
input_format
was wrong.input_format = "D%d/%m'%Y"-> day/month/year
But it seems to be month/day/year
This should work
input_format = "D%m/%d'%Y"More info about the shortcuts: https://docs.python.org/3/library/dateti...rmat-codes
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians!
All humans together. We don't need politicians!