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 -- http://mail.python.org/mailman/listinfo/python-list