Question: datepicker is not a function bootstrap jquery?
Answer: The bootstrap-datepicker is not a part of the Bootstrap. So,you have to include datepicker plugin code, before use it. If it's not possible to use CDN, you could place the CSS and JavaScript files of the plugin on your server and link to them.