"dj" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
Hello again,

Does anyone know which method in the time module will generate and am
or pm ?
If none of the method will do this for me. Can I produce the value on
my own ?
Any suggestions ?

from time import *
strftime('%I:%M:%S %p',localtime(time()))
'07:23:24 AM'
strftime('%I:%M:%S %p',gmtime(time()))
'02:23:39 PM'

-Mark
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to