2
I have a table that brings me a value in int
and I need to convert this value to time, as I can 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 value item.HoraInicio
and perform a conversion, but it does not let me declare variables to carry out the change, as I can do?
I use page-Razor, the created own views.
– Mariana
Yes, I managed to change other values using if, but I thought of something like @(int value), but it does not recognize.
– Mariana
Save the entire time to the bank?
– novic