TimeSpan myTime = new TimeSpan(hours, minutes, seconds);
int nHours = 3; int nMinutes = 45; int nTotalMinutes = nHours * 60 + nMinutes; MessageBox.Show("Time: " + (nTotalMinutes / 60).ToString() + ":" + (nTotalMinutes % 60).ToString()); //Time: 3:45
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)