Israel

Israel

  • 698
  • 1.3k
  • 217.6k

How to force a datetimepicker

Dec 15 2016 8:34 AM
Hi,
 
I just want to force my datetimpicker to display ONLY hh:mm (not second). I do try this but its still showing also second.
See what I do and its doent work:
 
dateTimePicker1.Format = DateTimePickerFormat.Custom;
ateTimePicker1.CustomFormat = "hh:mm:ss";
dateTimePicker1.ShowUpDown = true;
 
Thank,
Israel. 

Answers (3)