> if t[2] == 'PM': > hrMn[0] = int(hrMn[0]) + 12 > Oops, should be: hrMn[0] = int(hrMn[0] if t[2] == 'PM': hrMn[0] += 12