Logo
Stockholm-icons / Layout / Layout-polygon Created with Figma. Stockholm-icons / Tools / Compass Created with Sketch.
A datepicker for twitter bootstrap (@twbs). For more info please visit the plugin's Demo Page or Github Repo.

Bootstrap Date Picker Examples


        				<div class="card card-custom">
        					<div class="card-header">
        						<h3 class="card-title">
        							Bootstrap Date Picker Examples
        						</h3>
        					</div>
        					<!--begin::Form-->
        					<form class="form">
        						<div class="card-body">
        							<div class="form-group row">
        								<label class="col-form-label text-right col-lg-3 col-sm-12">Minimum Setup</label>
        								<div class="col-lg-4 col-md-9 col-sm-12">
        									<input type="text" class="form-control" readonly placeholder="Select date"/>
        								</div>
        							</div>
        							<div class="form-group row">
        								<label class="col-form-label text-right col-lg-3 col-sm-12">Input Group Setup</label>
        								<div class="col-lg-4 col-md-9 col-sm-12">
        									<div class="input-group date">
        										<input type="text" class="form-control" readonly  placeholder="Select date"/>
        										<div class="input-group-append">
        											<span class="input-group-text">
        												<i class="la la-calendar-check-o"></i>
        											</span>
        										</div>
        									</div>
        								</div>
        							</div>
        							<div class="form-group row">
        								<label class="col-form-label text-right col-lg-3 col-sm-12">Enable Helper Buttons</label>
        								<div class="col-lg-4 col-md-9 col-sm-12">
        									<div class="input-group date" >
        										<input type="text" class="form-control" readonly  value="05/20/2017" id="kt_datepicker_3"/>
        										<div class="input-group-append">
        											<span class="input-group-text">
        												<i class="la la-calendar"></i>
        											</span>
        										</div>
        									</div>
        									<span class="form-text text-muted">Enable clear and today helper buttons</span>
        								</div>
        							</div>
        							<div class="form-group row">
        								<label class="col-form-label text-right col-lg-3 col-sm-12">Orientation</label>
        								<div class="col-lg-4 col-md-9 col-sm-12">
        									<div class="input-group date mb-2" >
        										<input type="text" class="form-control" placeholder="Top left" id="kt_datepicker_4_1"/>
        										<div class="input-group-append">
        										<span class="input-group-text">
        											<i class="la la-bullhorn"></i>
        											</span>
        										</div>
        									</div>

        									<div class="input-group date mb-2">
        										<input type="text" class="form-control" placeholder="Top right" id="kt_datepicker_4_2"/>
        										<div class="input-group-append">
        											<span class="input-group-text">
        											<i class="la la-clock-o"></i>
        											</span>
        										</div>
        									</div>

        									<div class="input-group date mb-2">
        										<input type="text" class="form-control" placeholder="Bottom left"  id="kt_datepicker_4_3"/>
        										<div class="input-group-append">
        											<span class="input-group-text">
        											<i class="la la-check"></i>
        											</span>
        										</div>
        									</div>

        									<div class="input-group date">
        										<input type="text" class="form-control" placeholder="Bottom right" id="kt_datepicker_4_4"/>
        										<div class="input-group-append">
        											<span class="input-group-text">
        											<i class="la la-check-circle-o"></i>
        											</span>
        										</div>
        									</div>
        								</div>
        							</div>
        							<div class="form-group row">
        								<label class="col-form-label text-right col-lg-3 col-sm-12">Range Picker</label>
        								<div class="col-lg-4 col-md-9 col-sm-12">
        									<div class="input-daterange input-group" id="kt_datepicker_5">
        										<input type="text" class="form-control" name="start"/>
        										<div class="input-group-append">
        											<span class="input-group-text"><i class="la la-ellipsis-h"></i></span>
        										</div>
        										<input type="text" class="form-control" name="end"/>
        									</div>
        									<span class="form-text text-muted">Linked pickers for date range selection</span>
        								</div>
        							</div>
        							<div class="form-group row">
        								<label class="col-form-label text-right col-lg-3 col-sm-12">Inline Mode</label>
        								<div class="col-lg-4 col-md-9 col-sm-12">
        									<div class id="kt_datepicker_6"></div>
        								</div>
        							</div>
        							<div class="form-group row">
        								<label class="col-form-label text-right col-lg-3 col-sm-12">Modal Demos</label>
        								<div class="col-lg-4 col-md-9 col-sm-12">
        									<a href="#" class="btn font-weight-bold btn-light-primary" data-toggle="modal" data-target="#kt_datepicker_modal">Launch modal datepickers</a>
        								</div>
        							</div>
        						</div>
        						<div class="card-footer">
        							<div class="form-group row">
        								<div class="col-lg-9 ml-lg-auto">
        									<button type="reset" class="btn btn-primary mr-2">Submit</button>
        									<button type="reset" class="btn btn-secondary">Cancel</button>
        								</div>
        							</div>
        						</div>
        					</form>
        					<!--end::Form-->
        				</div>
        				

        				// Class definition

        				var KTBootstrapDatepicker = function () {

        					var arrows;
        					if (KTUtil.isRTL()) {
        						arrows = {
        							leftArrow: '<i class="la la-angle-right"></i>',
        							rightArrow: '<i class="la la-angle-left"></i>'
        						}
        					} else {
        						arrows = {
        							leftArrow: '<i class="la la-angle-left"></i>',
        							rightArrow: '<i class="la la-angle-right"></i>'
        						}
        					}

        					// Private functions
        					var demos = function () {
        						// minimum setup
        						$('#kt_datepicker_1').datepicker({
        							rtl: KTUtil.isRTL(),
        							todayHighlight: true,
        							orientation: "bottom left",
        							templates: arrows
        						});

        						// minimum setup for modal demo
        						$('#kt_datepicker_1_modal').datepicker({
        							rtl: KTUtil.isRTL(),
        							todayHighlight: true,
        							orientation: "bottom left",
        							templates: arrows
        						});

        						// input group layout
        						$('#kt_datepicker_2').datepicker({
        							rtl: KTUtil.isRTL(),
        							todayHighlight: true,
        							orientation: "bottom left",
        							templates: arrows
        						});

        						// input group layout for modal demo
        						$('#kt_datepicker_2_modal').datepicker({
        							rtl: KTUtil.isRTL(),
        							todayHighlight: true,
        							orientation: "bottom left",
        							templates: arrows
        						});

        						// enable clear button
        						$('#kt_datepicker_3, #kt_datepicker_3_validate').datepicker({
        							rtl: KTUtil.isRTL(),
        							todayBtn: "linked",
        							clearBtn: true,
        							todayHighlight: true,
        							templates: arrows
        						});

        						// enable clear button for modal demo
        						$('#kt_datepicker_3_modal').datepicker({
        							rtl: KTUtil.isRTL(),
        							todayBtn: "linked",
        							clearBtn: true,
        							todayHighlight: true,
        							templates: arrows
        						});

        						// orientation
        						$('#kt_datepicker_4_1').datepicker({
        							rtl: KTUtil.isRTL(),
        							orientation: "top left",
        							todayHighlight: true,
        							templates: arrows
        						});

        						$('#kt_datepicker_4_2').datepicker({
        							rtl: KTUtil.isRTL(),
        							orientation: "top right",
        							todayHighlight: true,
        							templates: arrows
        						});

        						$('#kt_datepicker_4_3').datepicker({
        							rtl: KTUtil.isRTL(),
        							orientation: "bottom left",
        							todayHighlight: true,
        							templates: arrows
        						});

        						$('#kt_datepicker_4_4').datepicker({
        							rtl: KTUtil.isRTL(),
        							orientation: "bottom right",
        							todayHighlight: true,
        							templates: arrows
        						});

        						// range picker
        						$('#kt_datepicker_5').datepicker({
        							rtl: KTUtil.isRTL(),
        							todayHighlight: true,
        							templates: arrows
        						});

        						 // inline picker
        						$('#kt_datepicker_6').datepicker({
        							rtl: KTUtil.isRTL(),
        							todayHighlight: true,
        							templates: arrows
        						});
        					}

        					return {
        						// public functions
        						init: function() {
        							demos();
        						}
        					};
        				}();

        				jQuery(document).ready(function() {
        					KTBootstrapDatepicker.init();
        				});
        				
Enable clear and today helper buttons
Linked pickers for date range selection

Validation State Examples


						<div class="card card-custom">
							<div class="card-header">
								<h3 class="card-title">
									Validation State Examples
								</h3>
							</div>
							<!--begin::Form-->
							<form class="form">
								<div class="card-body">
									<div class="form-group row">
										<label class="col-form-label text-right col-lg-3 col-sm-12">Valid State</label>
										<div class="col-lg-4 col-md-9 col-sm-12">
											<div class="input-group date">
												<input type="text" class="form-control is-valid" readonly  placeholder="Select date"/>
												<div class="input-group-append">
													<span class="input-group-text">
													<i class="la la-calendar-check-o"></i>
													</span>
												</div>
												<div class="valid-feedback">
													  Success! You"ve done it.
												</div>
											</div>
											<span class="form-text text-muted">Example help text that remains unchanged.</span>
										</div>
									</div>
									<div class="form-group row">
										<label class="col-form-label text-right col-lg-3 col-sm-12">Invalid State</label>
										<div class="col-lg-4 col-md-9 col-sm-12">
											<div class="input-group date" >
												<input type="text" class="form-control is-invalid" readonly  placeholder="Select date"/>
												<div class="input-group-append">
													<span class="input-group-text">
													<i class="la la-calendar-check-o"></i>
													</span>
												</div>
												<div class="invalid-feedback">
													Sorry, the date is taken. Try another date?
												</div>
											</div>
											<span class="form-text text-muted">Example help text that remains unchanged.</span>
										</div>
									</div>
								</div>
								<div class="card-footer">
									<div class="form-group row">
										<div class="col-lg-9 ml-lg-auto">
											<button type="reset" class="btn btn-primary mr-2">Submit</button>
											<button type="reset" class="btn btn-secondary">Cancel</button>
										</div>
									</div>
								</div>
							</form>
							<!--end::Form-->
						</div>
						

						// Class definition

						var KTBootstrapDatepicker = function () {

							var arrows;
							if (KTUtil.isRTL()) {
								arrows = {
									leftArrow: '<i class="la la-angle-right"></i>',
									rightArrow: '<i class="la la-angle-left"></i>'
								}
							} else {
								arrows = {
									leftArrow: '<i class="la la-angle-left"></i>',
									rightArrow: '<i class="la la-angle-right"></i>'
								}
							}

							// Private functions
							var demos = function () {
								// minimum setup
								$('#kt_datepicker_1_validate').datepicker({
									rtl: KTUtil.isRTL(),
									todayHighlight: true,
									orientation: "bottom left",
									templates: arrows
								});

								// input group layout
								$('#kt_datepicker_2_validate').datepicker({
									rtl: KTUtil.isRTL(),
									todayHighlight: true,
									orientation: "bottom left",
									templates: arrows
								});
							}

							return {
								// public functions
								init: function() {
									demos();
								}
							};
						}();

						jQuery(document).ready(function() {
							KTBootstrapDatepicker.init();
						});
						
Success! You"ve done it.
Example help text that remains unchanged.
Sorry, the date is taken. Try another date?
Example help text that remains unchanged.

Quick Actions finance & reports

User Profile 15 messages

Recent Notifications
Stockholm-icons / Layout / Layout-polygon Created with Figma. Stockholm-icons / Files / File-done Created with Sketch.

Important Notice

Lorem Ipsum is simply dummy text of the printing and industry.

Stockholm-icons / Layout / Layout-polygon Created with Figma. Stockholm-icons / Design / Pen&ruller Created with Sketch.

System Update

There are many variations of passages of Lorem Ipsum available.

Stockholm-icons / Layout / Layout-polygon Created with Figma. Stockholm-icons / General / Thunder-move Created with Sketch.

Server Maintenance

Contrary to popular belief, Lorem Ipsum is not simply random text.

Stockholm-icons / Layout / Layout-polygon Created with Figma. Stockholm-icons / Home / Alarm-clock Created with Sketch.

DB Migration

If you are going to use a passage of Lorem Ipsum, you need.

System Messages
Stockholm-icons / Communication / Group-chat Created with Sketch.
09:30 AM

To start a blog, think of a topic about and first brainstorm ways to write details

Stockholm-icons / General / Attachment2 Created with Sketch.
2:45 PM

To start a blog, think of a topic about and first brainstorm ways to write details

Stockholm-icons / Home / Library Created with Sketch.
3:12 PM

To start a blog, think of a topic about and first brainstorm ways to write details

Stockholm-icons / Communication / Add-user Created with Sketch.
7:05 PM

To start a blog, think of a topic about and first brainstorm ways to write details

Privacy Settings:

After you log in, you will be asked for additional information to confirm your identity.

Security Settings:

After you log in, you will be asked for additional information to confirm your identity. For extra security, this requires you to confirm your email. Learn more.

Stockholm-icons / Navigation / Up-2 Created with Sketch.

Select A Demo

Demo 1
Demo 2
Demo 3
Demo 4
Demo 5
Demo 6
Demo 7
Demo 8
Demo 9