[Tutor] 12 hr to 24 hr time conversion

Praveen Singh c2praveen30jun at gmail.com
Wed Oct 26 10:46:23 CEST 2011


How can i convert this-

>>>time24hr('12:34am')
 '0034hr'

i searched in date module but i am not able to figure out what how to do
this...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20111026/74835298/attachment.html>


More information about the Tutor mailing list