title: DbFunctions TruncateTime return value
body: <p>My application is MVC 5, EF 6.1 and SQL Server.
  I am using </p>
  
  <pre><code> public JsonResult GetUserDates()
          {
              var id= "1231231234";
              var data = db.Test.Where(x =&gt; x.Id == id).Select(c =&gt;
              new
              {
                  Date = DbFunctions.TruncateTime(c.Date)}).Distinct().ToList();
     return Json(data, JsonRequestBehavior.AllowGet);
          }
  </code></pre>
  
  <p>it returns the date correct however in the dropdownlist it looks like this:</p>
  
  <pre><code>2016-1-12 00:00:00:00000000
  </code></pre>
  
  <p>How can I get rid of extra zeros.  The Data Type in the table is date.</p>