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
The best way to do this is this:
datetimepicker.Format = DatetimePickerFormat.Custom; datetimepicker.CustomFormat = "HH:mm tt"; datetimepicker.ShowUpDowm = true;