PHP code example of gianlucagiacometti / bootstrap-pickadate

1. Go to this page and download the library: Download gianlucagiacometti/bootstrap-pickadate library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

gianlucagiacometti / bootstrap-pickadate example snippets

js
const picker = new bsPickadate("event_date_display", {
    locale: "it",
    hiddenTarget: "#event_date",
    min: "2026-01-01",
    max: "2026-12-31"
});

picker.value("2026-06-24");
picker.value();
picker.clear();
picker.today();
picker.open();
picker.close();
picker.setMin("2026-01-01");
picker.setMax("2026-12-31");
picker.destroy();
js
// English
monthShortFormat: "mmm mm" // Feb 02

// Italian
monthShortFormat: "mm mmm" // 02 feb