I\'m trying to convert times from 12 hour times into 24 hour times...
06:35 ## Morning 11:35 ## Morning (If m2 is anywhe
%H Hour (24-hour clock) as a zero-padded decimal number. %I Hour (12-hour clock) as a zero-padded decimal number.
%H
%I
m2 = "1:35" ## This is in the afternoon. m2 = datetime.strptime(m2, "%I:%M") print(m2)