Bootstrap picker

Bootstrap Datepicker

Bootstrap Datepicker is used to display a calendar with date, month, and time.

You can use the below code to create a datepicker in Bootstrap.

Bootstrap Timepicker

Bootstrap timepicker is used to display the time in minutes or seconds.

Example:

Bootstrap datetime picker

Bootstrap Datetime picker is an input field that is used to display a calendar with the time.

In Bootstrap, there are the following two methods to display datetime picker -

Method 1: Without using calendar and time icon

You can follow the below code to display date and time without using the date and time icon.

Method 2: Using date and time icon

Adding icons makes your picker more attractive and beautiful. You can use the below code to add date and time icon on your picker.

Code:






Latest Courses