Assuming I have a TimeSpan
that is equal to 07:10:30, I can use the following code to strip the seconds from it:
myTimeSpan = new TimeSpan(myTimeSpan.Hours, myTimeSpan.Minutes, 0)
Is this appropriate, or is there a more elegant way to achieve this?