Gabriel Genellina
1/29/2008 10:50:00 PM
En Tue, 29 Jan 2008 16:56:18 -0200, nik <nikbaer@gmail.com> escribi�:
>>>> print datetime(2008,2,29,15,30,11,tzinfo=TZ()).isoformat()
> 2008-02-29T15:30:11+8:00
>
> But what I want to know now it how to get the actual time into the
> expression instead of typing the 2008,2,29,15....
> So something like: >>> print
> datetime(time.gmtime(),tzinfo=TZ()).isoformat(), but that doesn't
> work.
Are you looking for datetime.now()?
--
Gabriel Genellina