Re: pytz and timezone specialists

2008-12-08 Thread manatlan
On 5 déc, 20:46, Ned Deily <[EMAIL PROTECTED]> wrote: > In article > <[EMAIL PROTECTED]>, > > > >  manatlan <[EMAIL PROTECTED]> wrote: > > Here is a really simple code : > > --- > > from datetime import datetime > > frompytzimport timezone > > > t

Re: pytz and timezone specialists

2008-12-05 Thread Ned Deily
In article <[EMAIL PROTECTED]>, manatlan <[EMAIL PROTECTED]> wrote: > Here is a really simple code : > --- > from datetime import datetime > from pytz import timezone > > tz=timezone("Europe/Paris") > > d=datetime(2008,12,12,19,00,00,tzinfo=tz

pytz and timezone specialists

2008-12-05 Thread manatlan
Here is a really simple code : --- from datetime import datetime from pytz import timezone tz=timezone("Europe/Paris") d=datetime(2008,12,12,19,00,00,tzinfo=tz) print d.isoformat() d=datetime.now(tz) print d.isoformat()