datatimes.py: update to work with new code base