On Jun 7, 9:24 am, "Mark Tolonen" <[EMAIL PROTECTED]> wrote:
> "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

Hello Mark,

Thank you very much. I finally found this function in the
documentation.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to