How to restrict DateTimePicker to select the time only? I don\'t know how to disable calendar control which drops when you press the button at the right of
DateTimePicker
You want to set its 'Format' property to be time and add a spin button control to it:
yourDateTimeControl.Format = DateTimePickerFormat.Time; yourDateTimeControl.ShowUpDown = true;