Chop off milliseconds when comparing times