make sure date comparison is utc