convert cur_date from varchar to date