title: Using Bootstrap 3 DateTimePicker in ASP.NET MVC Project
body: <p>I want to use the Bootstrap 3 DateTimePicker. I added it to my ASP.NET project using NuGet. </p>
  
  <p>Here's my BundleConfig.cs:</p>
  
  <pre class="lang-cs prettyprint-override"><code>bundles.Add(new StyleBundle("~/Content/Bootstrap").Include("~/Content/bootstrap.css",
                 "~/Content/bootstrap-theme.css",
                 "~/Content/bootstrap-theme.min.css",
                 "~/Content/bootstrap.min.css",
                 "~/Content/less/_bootstrap-datetimepicker.less",
                 "~/Content/less/bootstrap-datetimepicker-build.less"));
  
  bundles.Add(new ScriptBundle("~/Scripts/Bootstrap").Include(
                 "~/Scripts/moment.min.js",
                 "~/Scripts/bootstrap.js",
                 "~/Scripts/bootstrap.min.js",
                 "~/Scripts/bootstrap-datetimepicker.js",
                 "~/Scripts/bootstrap-datetimepicker.min.js"));
  </code></pre>
  
  <p>And I'm using it in my View like this:</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;div class="container"&gt;
    &lt;div class="col-sm-6"&gt;
      &lt;div class="form-group"&gt;
        &lt;div class="row"&gt;
          &lt;div class="col-md-8"&gt;
            &lt;div id="datetimepicker12"&gt;&lt;/div&gt;
          &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
    &lt;script type="text/javascript"&gt;
      $(function () {
        $('#datetimepicker12').datetimepicker({
          inline: true,
          sideBySide: true
        });
      });
    &lt;/script&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>But it doesn't work; any Ideas?</p>