VB.net DateTimePicker - still date dropdown


I have put a DateTimePicker on my Windows Form and set the format to Time
When I click on the dropdown it still brings up a calendar. Is there a way to change this
so that the user can only select the time?

Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAsked:
Who is Participating?
datetimepicker1.Format = DateTimePickerFormat.Custom
datetimepicker1.CustomFormat = "HH:mm"
datetimepicker1.ShowUpDown = True
Jorge PaulinoIT Pro/DeveloperCommented:
Set the ShowUpDown property to True
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAuthor Commented:
thanks very much
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.