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