title: Specify a format for "asp-for" HTML Tag (ASP.NET Core)
body: <p>In an ASP.NET Core project I have to display a (readonly) date in a specific format (say "dd/mm/yyyy HH:MM")</p>
  
  <pre><code>&lt;div class="form-group"&gt;
      &lt;label asp-for="Date" class="col-md-2 control-label"&gt;&lt;/label&gt;
      &lt;div class="col-md-10"&gt;
          &lt;input asp-for="Date" readonly class="form-control" /&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>How can I do it, knowing that the <code>Date</code> field is declared in the model like this</p>
  
  <pre><code>public DateTime Date { get { return this.Timestamp.DateTime; } }
  </code></pre>
  
  <p>?</p>