Attempt at fixing time difference calculation in dateAnalysis.dateDiff.  Stuck.