title: How to change DateTime format in route in ASP.Net Core?
body: <p>I'm using <code>datetime</code> in <code>Route</code> attribute like that:</p>
  
  <pre><code>[Route("{givenDate:datetime}")]
  </code></pre>
  
  <p>but it's in "American" format which is "month-day-year".</p>
  
  <p>How can I convert it to "day-month-year" format?</p>
  
  <p>PS. I'm aware that I can use other formats like "yearmonthday" or "year-month-day", but "day-month-year" looks more intuitive for me.</p>