time module methods give an am or pm value ?

dj d.a.abernathy at gmail.com
Mon Jun 9 22:39:25 CEST 2008


On Jun 7, 9:40 am, Scott David Daniels <Scott.Dani... at Acm.Org> wrote:
> dj wrote:
> > 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 ?
>
> Read up about strftime (a function, not a method).
>
> Generally, if you know you'll be using something for more than a few
> uses, it is worth reading the entire documentation for that module.
> People put a fair amount of effort into documentation, and they do it
> to reduce the number of questions they have to answer one user at a
> time.  Reading the results of that effort before asking shows courtesy.
> Few people mind explaining unclear documentation when the confusing part
> is identified (and they know the answer).  Similarly, asking (5000?, a
> million?) to each spend a second so you can save an hour is bad economics.
>
> --Scott David Daniels
> Scott.Dani... at Acm.Org

Hello Scott,

Thank you very much. I did find this function after shortly after I
posted this question.
I appreciated your help :-). And you are right, I do need to be a
better job of checking
the documentation, before I post. Thank you again for your help.



More information about the Python-list mailing list