Datepicker

Datepicker is a lightweight and powerful datetime picker. For more details

HTML Code
<div class="card-body">
     <div class="input-group d-block datepicker-full-width">
        <div class="vanila-datepicker"></div>
    </div>
 </div>
Script
 const datepickers = document.querySelectorAll(".vanila-datepicker");
      Array.from(datepickers, (elem) => {
        new Datepicker(elem);
      });
      const daterangePickers = document.querySelectorAll(
        ".vanila-daterangepicker"
      );
      Array.from(daterangePickers, (elem) => {
        new DateRangePicker(elem);
      });