Re: Simplest solution for formatting local time in iso 8601 including time zone.

2008-09-09 Thread Chris Rebert
On Tue, Sep 9, 2008 at 9:32 PM, <[EMAIL PROTECTED]> wrote: > What's the simplest solution for formatting the output of local time > in iso 8601 including the time zone information? > > Example: > >"2008-07-25T14:28:43.934-04:00" You want the isoformat() method of datetime objects. See http://

Simplest solution for formatting local time in iso 8601 including time zone.

2008-09-09 Thread rowland
What's the simplest solution for formatting the output of local time in iso 8601 including the time zone information? Example: "2008-07-25T14:28:43.934-04:00" Thanks, Rowland -- http://mail.python.org/mailman/listinfo/python-list