Sorry.
What I am doing is having a timer running called TotalTimer. I have this output to a non-visable textbox called TotalTimerBox. What I want to do is convert that value to a int or dec to be used for calculations.

If Now.TimeOfDay >= NineTime And Now.TimeOfDay <= TenTime Then
NineToTen += 1
Production += 1
End If
If Now.TimeOfDay >= TenTime And Now.TimeOfDay <= ElevenTime Then
TenToEleven += 1
Production += 1
End If
If Now.TimeOfDay >= ElevenTime And Now.TimeOfDay <= TweleveTime Then
ElevenToTwelve += 1
Production += 1
End If

Dim ProductionTime As Integer = (TotalTime)
Dim TotalProduction As Integer



TotalTime = ProductionTime / 60

TotalProduction = ProductionTime / Production

Label16.Text = TotalProduction.ToString


This is the code I was trying to use