I am trying to compare two dates in Python of different formats. Meaning, the "dates" can be of format "%d %H:%M:%S", "%H:%M:%S" or even "%M:%S".
Initially i am working with datetimes of format "%a %b %d %H:%M:%S +0000 %Y".
When i am trying to do as explained above i get the error:
ValueError: time data '5:37:52' does not match format '%a %b %d %H:%M:%S +0000 %Y'