title: MVC Razor - Default Value as Current date for textbox type date
body: <p>I have a <code>Textbox</code> with type as <code>date</code>. I am trying to set default value of the <code>textbox</code> to current date.</p>
  
  <pre><code>@Html.TextBoxFor(x =&gt; x.Date, new { @id = "Date", @type = "date", 
                                      @value = DateTime.Now.ToShortDateString() })
  </code></pre>
  
  <p>The above line doesn't set default value. How to set default value as current date?</p>