title: MVC3 How to stop default date and time value being rendered in create view
body: <p>I have an implementation of the J-Query UI date picker that i am using on a create view. </p>
  
  <p>When i return a blank form in the get action for the create view the date picker fields are being populated with a default value, 01/01/0001. The fields are declared as nullable in the database.</p>
  
  <p>how can i stop these values from being shown in the view? </p>
  
  <p>This is the get action where i am returning an empty customer site object.</p>
  
  <pre><code>public ViewResult Create() 
      {
          CustomerSite customerSite = new CustomerSite();
          var customers = repository.GetCustomers;
          return View(new SiteAdminCreateViewModel(customerSite, customers));       
      }
  </code></pre>
  
  <p>And im using this editor template to remove the time </p>
  
  <pre><code>@model DateTime
  @Html.TextBox("", Model.ToString("dd/MM/yyyy"), new { @class = "date" }) 
  </code></pre>
  
  <p>And this is the structure im using in the main view</p>
  
  <pre><code>&lt;div class="label-for"&gt;@Html.LabelFor(model =&gt; model.CustomerSite.PremisesStartDate) &lt;/div&gt;
      &lt;div class="date-editor"&gt;
          @Html.EditorFor(model =&gt; model.CustomerSite.PremisesStartDate)
          @Html.ValidationMessageFor(model =&gt; model.CustomerSite.PremisesStartDate)
      &lt;/div&gt;
  </code></pre>