DateTime object

Luca Bel lucabel at gmail.com
Fri Oct 29 07:44:13 EDT 2010


Take a look here:

http://pypi.python.org/pypi/DateTime/

I always use this package only with Zope (it's an application server)

If you are simply working in python maybe it's better to use datetime object.

Hi.

On Fri, Oct 29, 2010 at 1:15 PM, jf <jf at aucuneadresse.fr> wrote:
> Hi,
>
> I've a bug in my code and I'm trying de reproduce it.
>
> To trace the bug I print arguments, and it produces this:
> {'date': <DateTime '20091020T00:00:00' at 558d128>}
>
> My question is: what is: <DateTime '20091020T00:00:00' at 558d128>?
>
> I use mx.DateTime put if I print it I get:
> <mx.DateTime.DateTime object for '2010-10-29 13:13:25.55' at 7f0bb54e1298>
>
> So what kind of object <DateTime> is ?
>
> Thanks.
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>



More information about the Python-list mailing list