I’m working with TimeSpan in my model. This TimeSpan represent a duration upper than 24hours (ex. 160 hours). I’m need to display this duration in my View (reprensenting TotalHours and Minutes : “160:00”). I’m need to display it in a editfor ou textboxfor to allow user to manipulate the value.
I see this post :
Binding to a TimeSpan property in Asp.NET MVC Core
but, following the MS Documentation, “hh” format string represent Hours and not TotalHours.
Thanks for your suggestions and help.
1