time format

Paul Boddie paul at boddie.org.uk
Tue May 15 07:04:55 EDT 2007


On 15 May, 12:29, Alchemist <alextab... at gmail.com> wrote:
>
> How can I format a ctime() object?
> Can anyone give me (or lead me to) an example of a solution to my
> problem?

Use time.strftime. See...

http://docs.python.org/lib/module-time.html#tex2html122

Paul




More information about the Python-list mailing list