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
If you want to do it from properties, you can do this by setting the Format property of DateTimePicker to DateTimePickerFormat.Time and ShowUpDown property to true. Also, customFormat can be set in properties.