Hi,
If you want your application to enable users to select a date and time,
and to display that date and time in the specified format, use the
DateTimePicker control. The following procedure shows how to use the
DateTimePicker control to display the time.
Set the
Format property to
Time
timePicker.Format = DateTimePickerFormat.Time;
Set the
ShowUpDown property for the
DateTimePicker to
true.
timePicker.ShowUpDown = true;