title: Time format for DateTime on page
body: <p>I have a property</p>
  
  <pre><code>    [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:hh:mmtt}")]
      public DateTime DeadlineTime { get; set; }
  </code></pre>
  
  <p>use it on page</p>
  
  <pre><code>    &lt;div class="form-group"&gt;
          @Html.LabelFor(model =&gt; model.DeadlineTime, htmlAttributes: new { @class = "control-label col-md-2" })
          &lt;div class="col-md-10"&gt;
              @Html.EditorFor(model =&gt; model.DeadlineTime, new { htmlAttributes = new { @class = "form-control" } })
              @Html.ValidationMessageFor(model =&gt; model.DeadlineTime, "", new { @class = "text-danger" })
          &lt;/div&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p>but when I try to enter the value like : 11:30PM I get a validator error:</p>
  
  <blockquote>
    <p>The field DeadlineTime must be a date.</p>
  </blockquote>
  
  <p>why and how to solve it?</p>