fill begin and end date