Link to home
Start Free TrialLog in
Avatar of Medrise
Medrise

asked on

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.
Avatar of Ajay Sharma
Ajay Sharma
Flag of India image

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
Avatar of Jorge Paulino
Hi Medrise,

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

This way you will see the up and down arrows.

jpaulino
I used a small button next to a textbox with this

 Me.TimeTextBox.Text = DateTime.Now.ToString("HH:mm:ss")
ASKER CERTIFIED SOLUTION
Avatar of Jorge Paulino
Jorge Paulino
Flag of Portugal image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial