Set datepicker's date if present in history.