update selected date in bootstrap datepicker code example Example: datepicker select date programmatically bootstrap $("#datepicker").datepicker("setDate", new Date);