title: Displaying only date from DateTime
body: <p>Hi I am trying to display only the date of the datetime property and the price of a decimal property formated in curency.But I must be doing something wrong because the formating does not work.This is how it is displayed:</p>
  
  <p><img src="https://i.stack.imgur.com/v5oxo.png" alt="enter image description here"></p>
  
  <p>I would like this to only display the date and the price using curency dolar amount.
  This is my models code:</p>
  
  <pre><code>    [Required]
      [DataType(DataType.Date)]
      public DateTime PublicationDate { get; set; }
  
  
      [Required]
      [DataType(DataType.Currency)]
      [DisplayFormat(DataFormatString="{0:c}")]
      public decimal Price { get; set; }
  </code></pre>
  
  <p>And this is the code that I used for the view:</p>
  
  <pre><code>         &lt;p&gt;
              @Html.LabelFor(model =&gt; model.PublicationDate , "Publication Date")
              @Html.TextBoxFor(model =&gt; model.PublicationDate, new { @class = "datepicker"})
           &lt;/p&gt;
          &lt;p&gt;
              @Html.LabelFor(model =&gt; model.Price)
              @Html.TextBoxFor(model =&gt; model.Price)
           &lt;/p&gt;
  </code></pre>
  
  <p>What am I doing wrong?</p>