removing 1000 from the date script