How to set beforeShowDay for long back dates in bootstrap datepicker?












0














hi I'm trying to use a datepicker bootstrap with a long date backwards selection. now I can only get 45 days back.



$( "#from" ).datepicker({
multidate: true,
beforeShowDay: function (date) {
var tgl = ['15/08/2018', '16/08/2018', '17/08/2018'];
var dt_ddmmyyyy = date.getDate() + '/' + (date.getMonth() + 1) + '/' + date.getFullYear();
if (tgl.indexOf(dt_ddmmyyyy) != -1) {
return true;
} else {
return false;
}
}
});


the code will disable all dates except the date specified in the array, but only a maximum of 45 days back. so the date of the array is not included.
any suggestions for this problem?
Thank you for your help










share|improve this question






















  • try with my answer
    – Sooriya Dasanayake
    Nov 21 '18 at 18:19
















0














hi I'm trying to use a datepicker bootstrap with a long date backwards selection. now I can only get 45 days back.



$( "#from" ).datepicker({
multidate: true,
beforeShowDay: function (date) {
var tgl = ['15/08/2018', '16/08/2018', '17/08/2018'];
var dt_ddmmyyyy = date.getDate() + '/' + (date.getMonth() + 1) + '/' + date.getFullYear();
if (tgl.indexOf(dt_ddmmyyyy) != -1) {
return true;
} else {
return false;
}
}
});


the code will disable all dates except the date specified in the array, but only a maximum of 45 days back. so the date of the array is not included.
any suggestions for this problem?
Thank you for your help










share|improve this question






















  • try with my answer
    – Sooriya Dasanayake
    Nov 21 '18 at 18:19














0












0








0


0





hi I'm trying to use a datepicker bootstrap with a long date backwards selection. now I can only get 45 days back.



$( "#from" ).datepicker({
multidate: true,
beforeShowDay: function (date) {
var tgl = ['15/08/2018', '16/08/2018', '17/08/2018'];
var dt_ddmmyyyy = date.getDate() + '/' + (date.getMonth() + 1) + '/' + date.getFullYear();
if (tgl.indexOf(dt_ddmmyyyy) != -1) {
return true;
} else {
return false;
}
}
});


the code will disable all dates except the date specified in the array, but only a maximum of 45 days back. so the date of the array is not included.
any suggestions for this problem?
Thank you for your help










share|improve this question













hi I'm trying to use a datepicker bootstrap with a long date backwards selection. now I can only get 45 days back.



$( "#from" ).datepicker({
multidate: true,
beforeShowDay: function (date) {
var tgl = ['15/08/2018', '16/08/2018', '17/08/2018'];
var dt_ddmmyyyy = date.getDate() + '/' + (date.getMonth() + 1) + '/' + date.getFullYear();
if (tgl.indexOf(dt_ddmmyyyy) != -1) {
return true;
} else {
return false;
}
}
});


the code will disable all dates except the date specified in the array, but only a maximum of 45 days back. so the date of the array is not included.
any suggestions for this problem?
Thank you for your help







datepicker bootstrap-datepicker






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 19 '18 at 12:39









kew

13




13












  • try with my answer
    – Sooriya Dasanayake
    Nov 21 '18 at 18:19


















  • try with my answer
    – Sooriya Dasanayake
    Nov 21 '18 at 18:19
















try with my answer
– Sooriya Dasanayake
Nov 21 '18 at 18:19




try with my answer
– Sooriya Dasanayake
Nov 21 '18 at 18:19












2 Answers
2






active

oldest

votes


















0














TRy this... Use '15/08/2018' to '15/8/2018'






$( "#js-date" ).datepicker({
multidate: true,
beforeShowDay: function (date) {
var tgl = ['15/8/2018', '16/8/2018', '17/8/2018'];
var dt_ddmmyyyy = date.getDate() + '/' + (date.getMonth() + 1) + '/' + date.getFullYear();
if (tgl.indexOf(dt_ddmmyyyy) != -1) {
return true;
} else {
return false;
}
}
});

<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.0.0/js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.7.1/js/bootstrap-datepicker.min.js"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet"/>
<input type="text" class="form-control" id="js-date">








share|improve this answer





























    0














    Just another example, ("0" + (date.getMonth() + 1)).slice(-2) will get month in 2 digit format.






    $('#datepicker').val("08-15-2018");/* for demo purpose */

    $('#datepicker').datepicker({
    multidate: true,
    beforeShowDay: function(date) {
    var tgl = ['15/08/2018', '16/08/2018', '17/08/2018'];
    var dt_ddmmyyyy = date.getDate() + '/' + ("0" + (date.getMonth() + 1)).slice(-2) + '/' + date.getFullYear();
    if (tgl.indexOf(dt_ddmmyyyy) != -1) {
    return true;
    } else {
    return false;
    }
    }
    });

    td.day.disabled {
    opacity: 0.2;
    color: red;
    }

    <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
    <link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" />
    <link href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.8.0/css/bootstrap-datepicker.css" />
    <script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.8.0/js/bootstrap-datepicker.min.js"></script>
    <input id="datepicker">








    share|improve this answer























      Your Answer






      StackExchange.ifUsing("editor", function () {
      StackExchange.using("externalEditor", function () {
      StackExchange.using("snippets", function () {
      StackExchange.snippets.init();
      });
      });
      }, "code-snippets");

      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "1"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53374848%2fhow-to-set-beforeshowday-for-long-back-dates-in-bootstrap-datepicker%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      0














      TRy this... Use '15/08/2018' to '15/8/2018'






      $( "#js-date" ).datepicker({
      multidate: true,
      beforeShowDay: function (date) {
      var tgl = ['15/8/2018', '16/8/2018', '17/8/2018'];
      var dt_ddmmyyyy = date.getDate() + '/' + (date.getMonth() + 1) + '/' + date.getFullYear();
      if (tgl.indexOf(dt_ddmmyyyy) != -1) {
      return true;
      } else {
      return false;
      }
      }
      });

      <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
      <script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.0.0/js/bootstrap.min.js"></script>
      <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.7.1/js/bootstrap-datepicker.min.js"></script>
      <link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet"/>
      <input type="text" class="form-control" id="js-date">








      share|improve this answer


























        0














        TRy this... Use '15/08/2018' to '15/8/2018'






        $( "#js-date" ).datepicker({
        multidate: true,
        beforeShowDay: function (date) {
        var tgl = ['15/8/2018', '16/8/2018', '17/8/2018'];
        var dt_ddmmyyyy = date.getDate() + '/' + (date.getMonth() + 1) + '/' + date.getFullYear();
        if (tgl.indexOf(dt_ddmmyyyy) != -1) {
        return true;
        } else {
        return false;
        }
        }
        });

        <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
        <script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.0.0/js/bootstrap.min.js"></script>
        <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.7.1/js/bootstrap-datepicker.min.js"></script>
        <link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet"/>
        <input type="text" class="form-control" id="js-date">








        share|improve this answer
























          0












          0








          0






          TRy this... Use '15/08/2018' to '15/8/2018'






          $( "#js-date" ).datepicker({
          multidate: true,
          beforeShowDay: function (date) {
          var tgl = ['15/8/2018', '16/8/2018', '17/8/2018'];
          var dt_ddmmyyyy = date.getDate() + '/' + (date.getMonth() + 1) + '/' + date.getFullYear();
          if (tgl.indexOf(dt_ddmmyyyy) != -1) {
          return true;
          } else {
          return false;
          }
          }
          });

          <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
          <script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.0.0/js/bootstrap.min.js"></script>
          <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.7.1/js/bootstrap-datepicker.min.js"></script>
          <link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet"/>
          <input type="text" class="form-control" id="js-date">








          share|improve this answer












          TRy this... Use '15/08/2018' to '15/8/2018'






          $( "#js-date" ).datepicker({
          multidate: true,
          beforeShowDay: function (date) {
          var tgl = ['15/8/2018', '16/8/2018', '17/8/2018'];
          var dt_ddmmyyyy = date.getDate() + '/' + (date.getMonth() + 1) + '/' + date.getFullYear();
          if (tgl.indexOf(dt_ddmmyyyy) != -1) {
          return true;
          } else {
          return false;
          }
          }
          });

          <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
          <script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.0.0/js/bootstrap.min.js"></script>
          <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.7.1/js/bootstrap-datepicker.min.js"></script>
          <link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet"/>
          <input type="text" class="form-control" id="js-date">








          $( "#js-date" ).datepicker({
          multidate: true,
          beforeShowDay: function (date) {
          var tgl = ['15/8/2018', '16/8/2018', '17/8/2018'];
          var dt_ddmmyyyy = date.getDate() + '/' + (date.getMonth() + 1) + '/' + date.getFullYear();
          if (tgl.indexOf(dt_ddmmyyyy) != -1) {
          return true;
          } else {
          return false;
          }
          }
          });

          <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
          <script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.0.0/js/bootstrap.min.js"></script>
          <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.7.1/js/bootstrap-datepicker.min.js"></script>
          <link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet"/>
          <input type="text" class="form-control" id="js-date">





          $( "#js-date" ).datepicker({
          multidate: true,
          beforeShowDay: function (date) {
          var tgl = ['15/8/2018', '16/8/2018', '17/8/2018'];
          var dt_ddmmyyyy = date.getDate() + '/' + (date.getMonth() + 1) + '/' + date.getFullYear();
          if (tgl.indexOf(dt_ddmmyyyy) != -1) {
          return true;
          } else {
          return false;
          }
          }
          });

          <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
          <script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.0.0/js/bootstrap.min.js"></script>
          <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.7.1/js/bootstrap-datepicker.min.js"></script>
          <link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet"/>
          <input type="text" class="form-control" id="js-date">






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 20 '18 at 5:11









          Sooriya Dasanayake

          8551410




          8551410

























              0














              Just another example, ("0" + (date.getMonth() + 1)).slice(-2) will get month in 2 digit format.






              $('#datepicker').val("08-15-2018");/* for demo purpose */

              $('#datepicker').datepicker({
              multidate: true,
              beforeShowDay: function(date) {
              var tgl = ['15/08/2018', '16/08/2018', '17/08/2018'];
              var dt_ddmmyyyy = date.getDate() + '/' + ("0" + (date.getMonth() + 1)).slice(-2) + '/' + date.getFullYear();
              if (tgl.indexOf(dt_ddmmyyyy) != -1) {
              return true;
              } else {
              return false;
              }
              }
              });

              td.day.disabled {
              opacity: 0.2;
              color: red;
              }

              <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
              <link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" />
              <link href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.8.0/css/bootstrap-datepicker.css" />
              <script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
              <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.8.0/js/bootstrap-datepicker.min.js"></script>
              <input id="datepicker">








              share|improve this answer




























                0














                Just another example, ("0" + (date.getMonth() + 1)).slice(-2) will get month in 2 digit format.






                $('#datepicker').val("08-15-2018");/* for demo purpose */

                $('#datepicker').datepicker({
                multidate: true,
                beforeShowDay: function(date) {
                var tgl = ['15/08/2018', '16/08/2018', '17/08/2018'];
                var dt_ddmmyyyy = date.getDate() + '/' + ("0" + (date.getMonth() + 1)).slice(-2) + '/' + date.getFullYear();
                if (tgl.indexOf(dt_ddmmyyyy) != -1) {
                return true;
                } else {
                return false;
                }
                }
                });

                td.day.disabled {
                opacity: 0.2;
                color: red;
                }

                <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
                <link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" />
                <link href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.8.0/css/bootstrap-datepicker.css" />
                <script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
                <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.8.0/js/bootstrap-datepicker.min.js"></script>
                <input id="datepicker">








                share|improve this answer


























                  0












                  0








                  0






                  Just another example, ("0" + (date.getMonth() + 1)).slice(-2) will get month in 2 digit format.






                  $('#datepicker').val("08-15-2018");/* for demo purpose */

                  $('#datepicker').datepicker({
                  multidate: true,
                  beforeShowDay: function(date) {
                  var tgl = ['15/08/2018', '16/08/2018', '17/08/2018'];
                  var dt_ddmmyyyy = date.getDate() + '/' + ("0" + (date.getMonth() + 1)).slice(-2) + '/' + date.getFullYear();
                  if (tgl.indexOf(dt_ddmmyyyy) != -1) {
                  return true;
                  } else {
                  return false;
                  }
                  }
                  });

                  td.day.disabled {
                  opacity: 0.2;
                  color: red;
                  }

                  <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
                  <link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" />
                  <link href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.8.0/css/bootstrap-datepicker.css" />
                  <script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
                  <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.8.0/js/bootstrap-datepicker.min.js"></script>
                  <input id="datepicker">








                  share|improve this answer














                  Just another example, ("0" + (date.getMonth() + 1)).slice(-2) will get month in 2 digit format.






                  $('#datepicker').val("08-15-2018");/* for demo purpose */

                  $('#datepicker').datepicker({
                  multidate: true,
                  beforeShowDay: function(date) {
                  var tgl = ['15/08/2018', '16/08/2018', '17/08/2018'];
                  var dt_ddmmyyyy = date.getDate() + '/' + ("0" + (date.getMonth() + 1)).slice(-2) + '/' + date.getFullYear();
                  if (tgl.indexOf(dt_ddmmyyyy) != -1) {
                  return true;
                  } else {
                  return false;
                  }
                  }
                  });

                  td.day.disabled {
                  opacity: 0.2;
                  color: red;
                  }

                  <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
                  <link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" />
                  <link href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.8.0/css/bootstrap-datepicker.css" />
                  <script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
                  <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.8.0/js/bootstrap-datepicker.min.js"></script>
                  <input id="datepicker">








                  $('#datepicker').val("08-15-2018");/* for demo purpose */

                  $('#datepicker').datepicker({
                  multidate: true,
                  beforeShowDay: function(date) {
                  var tgl = ['15/08/2018', '16/08/2018', '17/08/2018'];
                  var dt_ddmmyyyy = date.getDate() + '/' + ("0" + (date.getMonth() + 1)).slice(-2) + '/' + date.getFullYear();
                  if (tgl.indexOf(dt_ddmmyyyy) != -1) {
                  return true;
                  } else {
                  return false;
                  }
                  }
                  });

                  td.day.disabled {
                  opacity: 0.2;
                  color: red;
                  }

                  <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
                  <link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" />
                  <link href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.8.0/css/bootstrap-datepicker.css" />
                  <script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
                  <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.8.0/js/bootstrap-datepicker.min.js"></script>
                  <input id="datepicker">





                  $('#datepicker').val("08-15-2018");/* for demo purpose */

                  $('#datepicker').datepicker({
                  multidate: true,
                  beforeShowDay: function(date) {
                  var tgl = ['15/08/2018', '16/08/2018', '17/08/2018'];
                  var dt_ddmmyyyy = date.getDate() + '/' + ("0" + (date.getMonth() + 1)).slice(-2) + '/' + date.getFullYear();
                  if (tgl.indexOf(dt_ddmmyyyy) != -1) {
                  return true;
                  } else {
                  return false;
                  }
                  }
                  });

                  td.day.disabled {
                  opacity: 0.2;
                  color: red;
                  }

                  <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
                  <link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" />
                  <link href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.8.0/css/bootstrap-datepicker.css" />
                  <script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
                  <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.8.0/js/bootstrap-datepicker.min.js"></script>
                  <input id="datepicker">






                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Nov 26 '18 at 9:07

























                  answered Nov 26 '18 at 8:43









                  Yi-Ting Liu

                  8521622




                  8521622






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Stack Overflow!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.





                      Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                      Please pay close attention to the following guidance:


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53374848%2fhow-to-set-beforeshowday-for-long-back-dates-in-bootstrap-datepicker%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      MongoDB - Not Authorized To Execute Command

                      How to fix TextFormField cause rebuild widget in Flutter

                      in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith