<p>How do I read a time value and then insert it into a TimeSpan variables?</p>

```
```
TimeSpan span = new TimeSpan(days,hours,minutes,seconds,milliseonds);
```
```
Or, if you mean DateTime:
```
```
DateTime time = new DateTime(year,month,day,minutes,seconds,milliseconds);
```
```
Where all of the parameters are ints.