How can I disable past dates in my datepicker? : <p>How can i disable my past date from the current date. I check already the other threads but its not working in my codes.</p>

<pre><code>&lt;script&gt;
$("#checkinDate").datetimepicker({
        format: "yyyy-mm-dd",
        startView: "month",
        minView: "month",
        autoclose: true,
        todayBtn: true
});
$("#checkoutDate").datetimepicker({
        format: "yyyy-mm-dd",
        startView: "month",
        minView: "month",
        autoclose: true,
        todayBtn: true
});
&lt;/script&gt;
</code></pre>
