handle Invalid Date in time fields