title: asp.net core html helper tag - set value (datetime) client side - format
body: <p>in my json i've this date generated  by <code>JsonConvert.SerializeObject()</code></p>
  
  <p><code>2020-05-11T15:27:50.3666678+02:00</code></p>
  
  <p>I get this json by jquery ajax call and i need to set this value (client-side) to an html helper tag </p>
  
  <p>to set this field client-side i do:</p>
  
  <p><code>$("#scandate").val(details.ScanDate);</code></p>
  
  <p>where scandate contains the date in the format above <code>2020-05-11T15:27:50.3666678+02:00</code></p>
  
  <p>but i got this error:</p>
  
  <pre><code>The specified value "2020-05-11T14:41:59.5753508+02:00" does not conform to the required format.  The format is "yyyy-MM-ddThh:mm" followed by optional ":ss" or ":ss.SSS".
  </code></pre>
  
  <p>trying to pass a (fixed) date like this <code>2020-05-11T15:27:50</code> the component shows the date!</p>
  
  <p>how can i adjust it avoiding to do a brutal subtring in order remove the last part of the date?</p>