Set start_date and end_date to date automatically