+ 1
In Python how do I convert 12 hour time to 24 hour time?
3 Respuestas
+ 11
There are several possibilities to do this job.
(1) using your own logic. search in web for http://militarytimechart.com/ . It's a table, where you can see how it works. Then implement this in your code
(2) using datetime module from python. you can use format specifiers to achieve this.
+ 4
Please don't ask code coach solution here. If you got stuck somewhere or you want help you have to show us to your attempt first.
https://www.sololearn.com/discuss/1316935/?ref=app
+ 2
Lothar perfect