make sure dates are timetuples in milliseconds