Menu Close

How to set Datepicker in bootstrap?


You are using bootstrap and you want to add datepicker, then you can use the bootstrap-datepicker library. But if you are new then learn to add datepicker in bootstrap.

Follow the codes below

<!DOCTYPE html>

<html lang="en">


        <meta charset="utf-8">

        <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

        <meta name="author" content="">

        <title>Bootstrap Datepiker</title>  

        <link href="" rel="stylesheet">  

        <link href="" rel="stylesheet">
        <script src=""></script>

        <script src=""></script>  

        <script src=""></script>



        <strong>Date : </strong>  

        <input class="date form-control" style="width: 300px;" type="text">  

        <script type="text/javascript">  


               format: 'mm-dd-yyyy'  






Bootstrap Datepiker Date :
Posted in Bootstrap, CSS, HTML

You can also read...