If all you want to do is select 12 or 24 hour format for a time displayed in a Label then it has nothing to do with a DateTimePicker. It would only involve a DTP if you wanted to display the time in a DTP. You should create a ComboBox and add items "12 hour" and "24 hour" to it. In your Tick event handler you would do this:
vb Code:
Dim timeFormat As String
If timeFormatCombo.SelectedItem = "24 hour" Then
timeFormat = "HH:mm:ss"
Else
timeFormat = "h:mm:ss tt"
End If
timeLabel.Text = Date.Now.ToString(timeFormat)
Probably even better would be if you declared a class-level variable named timeFormat which you set on the SelectedIndexChanged event of your ComboBox:
vb Code:
If Me.timeFormatCombo.SelectedItem = "24 hour" Then
Me.timeFormat = "HH:mm:ss"
Else
Me.timeFormat = "h:mm:ss tt"
End If
Then in the Tick event handler there's no need to calculate the format each time. You just go ahead and use the one that was set last time the user made a selection:
vb Code:
Me.timeLabel.Text = Date.Now.ToString(Me.timeFormat)