Time picker

What is the best way to display a field where the user will select the time?

I used a date and time picker, but when you check time, and click on the drop arrow it shows the date calendar.
MedriseAsked:
Who is Participating?
 
Jorge PaulinoIT Pro/DeveloperCommented:
Sorry Medrise,

Set ShowUpDown to True ... not Turn :-)

You can also use maskedtextbox and define the maks for time.
0
 
Ajay SharmaCommented:
i think there is no time picker avalible.

U have to make yu own time picker

just use the datetimepicker to select the date.

Create two comboboxes to select time, one for hours and secod for minutes.
keep a timer control active to refresh the combo boxes to update the time values
0
 
Jorge PaulinoIT Pro/DeveloperCommented:
Hi Medrise,

You can use datetimepicker. You can set:
  Format = Time
  ShowUpDown = Turn

This way you will see the up and down arrows.

jpaulino
0
 
wiswalldCommented:
I used a small button next to a textbox with this

 Me.TimeTextBox.Text = DateTime.Now.ToString("HH:mm:ss")
0
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.