Public
Class Form1
Private Sub
DateTimePicker1_ValueChanged(ByVal sender As System.Object, ByVal
e As System.EventArgs) Handles
DateTimePicker1.ValueChanged
MessageBox.Show("The selected value is ",
DateTimePicker1.Text)
MessageBox.Show("The day of the week is ",
DateTimePicker1.Value.DayOfWeek.ToString)
MessageBox.Show("Millisecond is: ",
DateTimePicker1.Value.Millisecond.ToString)
End Sub
End
Class