I want to change the content of a model item in the HTML page. I am saving datetime, in database, in the next format: yyyyMMddHHmmss
and i want to display, in the HTML page, the next format: dd-MM-yyyy HH-mm-ss
How can i do that?
<tr>
  <td class="labels">
    <label>Data/Hora Token Telemóvel:</label>
  </td>
  <td>
    @Html.TextBox("txtBoxNome", @Html.DisplayFor(modelItem => item.cdts_token_phone), new { @readonly = "readonly", @disabled = "disabled"})
  </td>
</tr>
 
     
     
    