Refactor numpy datetime truncate code to use an offset relative to python definition of start