Calculating Elapsed Time

skip at pobox.com skip at pobox.com
Tue Dec 6 16:14:29 EST 2005


    Jean> I'm using an old version of python (2.1) and datetime isn't
    Jean> available until Python 2.3.  I can't upgrade my python.

There's a reference implementation of datetime written in Python:

    http://svn.python.org/view/sandbox/trunk/datetime/

It may or may not work in 2.1.  If you decide you can live without datetime,
Fredrik's strptime/mktime solution is how you do it without datetime.

Skip



More information about the Python-list mailing list