Check that time is not in the past