Answers for "how can datetimepicker accept hour as well"

C#
0

how can datetimepicker accept hour as well

Set the Format to Custom and then specify the format:

dateTimePicker1.Format = DateTimePickerFormat.Custom;
dateTimePicker1.CustomFormat = "MM/dd/yyyy hh:mm:ss";
Posted by: Guest on June-09-2021

Code answers related to "how can datetimepicker accept hour as well"

C# Answers by Framework

Browse Popular Code Answers by Language