title: Disable dates older than today with datetimepicker
body: <p>I'm trying to figure out how to disable all the dates older than today, this gets tricky with the bootstrap datetime picker I am using below.</p>
  
  <p>The examples allows for an array of dates to be passed when creating the object :</p>
  
  <pre><code>$(function () {
                  $('#datetimepicker7').datetimepicker({
                      defaultDate: "11/1/2013",
                      disabledDates: [
                          moment("12/25/2013"),
                          new Date(2013, 11 - 1, 21),
                          "11/22/2013 00:53"
                      ]
                  });
              });
  </code></pre>
  
  <p>How can I do this without calculating all the dates before today and passing that to the function ?</p>
  
  <p><strong>Doc</strong> : <a href="http://eonasdan.github.io/bootstrap-datetimepicker/#example8" rel="nofollow">http://eonasdan.github.io/bootstrap-datetimepicker/#example8</a></p>