JSFiddle - React, Tailwind, and code Playground

HTML

<script src="http://code.jquery.com/ui/1.11.1/jquery-ui.js"></script>
<script src="http://code.jquery.com/jquery-1.10.2.js"></script>
<link rel="stylesheet" href="http://code.jquery.com/ui/1.11.1/themes/smoothness/jquery-ui.css">
<link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery.ui.all.css">
<script src="//code.jquery.com/jquery-1.10.2.js"></script>
<script src="//code.jquery.com/ui/1.11.1/jquery-ui.js"></script>Date:
<div id="datepicker"></div>

JavaScript

var startDate = '2014-08-05';
var endDate = '2015-08-05';

$(function () {
    $("#datepicker").datepicker({
        hideIfNoPrevNext: true,
        numberOfMonths: [3,4],
        defaultDate: new Date(startDate),
        minDate: new Date(startDate),
        maxDate: new Date(endDate),
        dateFormat: "yy-mm-dd"
    });
});