time.strftime()

Anders Hammarquist iko at cd.chalmers.se
Mon Mar 10 18:15:14 EST 2003


In article <20030310092838.GB695 at jsaul.de>, jsaul  <jsaul at gmx.de> wrote:
>Hi there,
>
>I have a problem when using time.strftime() to compose a RFC822
>date, namely the printed time zone is incorrect:

If you don't have a particular reason not to, it's probably better
to use email.Utils.formatdate() to get an rfc-822 timestamp.

/Anders

-- 
 -- Of course I'm crazy, but that doesn't mean I'm wrong.
Anders Hammarquist                                  | iko at cd.chalmers.se
Physics student, Chalmers University of Technology, | Hem: +46 31 88 48 50
G|teborg, Sweden.           RADIO: SM6XMM and N2JGL | Mob: +46 707 27 86 87




More information about the Python-list mailing list