select date and set startDate