I am trying to get the half of a TimeSpan. My timespan is 21:00:00 so that’s 21 hours, I want to get the half of 21 hours which is 10.5 hours or 10:30:00
Is there a way I can get that value? I tried dividing the timespan by 2 but it won’t let me since it’s variable type is TimeSpan, i guess?
Any help would be appreciated thanks!