In general, try to make use of Python's datetime object/methods more.  It is methods to do just about everything you need to do.  Pyoos also already has python-dateutil as a dependency, so make use of that as much as you want.