Pure python alternative to mx.DateTime?

Max M maxm at mxm.dk
Tue Mar 19 04:10:21 EST 2002


Lutz Schroeer wrote:

> One of my web hosts does not have a C compiler installed so I can't install
> mx.DateTime on that machine, because it need some C routines.
> 
> Unfortunately I'm in need of some simple time and date calculations
> (ISO-time, how many days from now, weekdays, etc.).
> 
> Is there any alternative to mx without inventing the wheel for the second
> time and programming it by myself?

Hmm you could just pull out the DateTime module from Zope. It is not as 
well developed as the mx tools, but will probably do what you need.

I just looked at it, and it doesn't seem to be dependent on anything in 
Zope.

regards Max M




More information about the Python-list mailing list