More leveraging datepicker smarts in setDate.