I have saved a duration in minutes and want to have an output \"1 day 5 hours 30 minutes\". Currently i add the minutes to a Timespan and do something like this:
<
Can you simply use:
(int)(ts.TotalHours / 8)
instead of ts.Days? Then use
ts.Days
(((int)ts.TotalHours) % 8)
instead of ts.Hours.
ts.Hours