date class

Simon Brunning SBrunning at
Tue Nov 21 17:30:16 CET 2000

> From:	Miki Tebeka [SMTP:tebeka at]
> Is there a date class in python?
> One which I can do things like:
> d1 = date('11/11/00')
> d2 = date('12/12/00')
> days = d1 - d2
> if (d1 < d2) ....
Look at Marc Lemburg's mxDateTime module, available from

Simon Brunning
TriSystems Ltd.
sbrunning at

The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorised. If you are not the intended recipient, any disclosure,
copying, distribution, or any action taken or omitted to be taken in
reliance on it, is prohibited and may be unlawful. TriSystems Ltd. cannot
accept liability for statements made which are clearly the senders own.

More information about the Python-list mailing list