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
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
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()