Leverage datepicker smarts in setDate.