I have a table that returns me a value in int
and I need to convert this value to time, how can I perform this procedure, in case I would need to create a function to show me the correct value.
<td>
@Html.DisplayFor(modelItem => item.HoraInicio)
</td>
In this part I need to get the item.HoraInicio
value and perform a conversion, but it does not let me declare variables to perform the change, how can I do it?