title: Set DateTimePicker value in ASP.NET MVC Razor
body: <p>I want to set Bootstrap <code>DateTimePicker</code> value </p>
  
  <pre><code> @using (Html.BeginForm("Index", "ObjectClass", FormMethod.Post, new { }))
  { 
      &lt;div class="col-md-7"&gt;
          Du
          @Html.TextBoxFor(model =&gt; Model.helpVM.date1, new { @class = "dp datepicker", @value = DateTime.Now })
          Au
          @Html.TextBoxFor(model =&gt; Model.helpVM.date2, new { @class = "dp datepicker", @value = DateTime.Now })
  }
  </code></pre>
  
  <p>I've tried this but it gives me no value in the view page.</p>