Sounds like a job for dateutil (http://labix.org/python-dateutil).
It's not a built in module (it's in the cheeseshop at least), but it
looks like it pretty much does exactly what you want.  If you really
dont want to download anything, I suppose you could create something
from datetime's timedeltas which do support arithmetic operations.

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

Reply via email to