time format

Alchemist alextabone at gmail.com
Tue May 15 06:29:28 EDT 2007


I have a ctime() object that when I convert to string returns this
string:
  "Tue May 15 12:27:11 2007"

Now I need to convert it in the following (string) format:
  "Tue, 15 May 2007 10:25:40 GMT"

How can I format a ctime() object?
Can anyone give me (or lead me to) an example of a solution to my
problem?
Thanks




More information about the Python-list mailing list