modify time to be accurate to min