3
Answers

How to force a datetimepicker

Israel

Israel

7y
244
1
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)