I have used the code:
Dim val = ( _
New DateTime( _
DateTimePicker1.Value.Year, _
DateTimePicker1.Value.Month, _
DateTimePicker1.Value.Day, _
CInt(TextBox1.Text), _
CInt(TextBox2.Text), _
0 _
) _
- _
New DateTime(1970, 1, 1, 0, 0, 0) _
).TotalMilliseconds
val = val + (CInt(TextBox2.Text) * 1000)
to get the milliseconds from 01/01/1970 using the selected input date and time. Does anyone know how to convert this value back into something that I can use to display the date in a DateTimePicker
along with the hours and minutes that I can use some-place else?