On Tue, Dec 29, 2009 at 7:21 AM, M.-A. Lemburg <m...@egenix.com> wrote:

> If you want a more human readable, relative format use Age():
>
> >>> Age(bree, nat)
> <RelativeDateTime instance for '(+0008)-(+04)-(+29) HH:(+49):(+35)' at
> 0x2b99c6e37ef0>
>
> i.e. 8 years, 4 months, 29 days, 49 minutes, 35 seconds.
>

That is... awesome. I use mx.DateTime all the time, and never knew about the
Age capability.

mx.DateTime wins. I'm sort of curious why Python grew 'datetime' when
mx.DateTime was established already, and its such an excellent library.

--S
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to