I am trying to write a radio alarm clock as a bit of programming practice, I have successfully got a clock working in a line or two. When it comes however to having the use select an alarm time I don’t know how to collect the information.
A date time picker can pass a date and time it would seem, but I can only figure out how to select the date which is the part I don’t want.
Are there any other objects i can put on a form so a user can select a time to set the alarm?
If you like to manipulate only the Time with a
DateTimePicker, the following code should work according to this MSDN article: