Excuse the rough code, I\'m trying to display the duration of videos given the time in seconds. I\'ve had a go below but it\'s not working properly.
I want it to just d
According to msdn try this:
if (secs < 60) { answer = t.Format("s"); } else if (secs < 600)//tenmins { answer = t.Format("m:s"); } // ...