Datetimepicker help

  • Thread starter Thread starter Mike Fellows
  • Start date Start date
M

Mike Fellows

I want to use a datetimepicker to selct both Date and Time - but i cant find
out how to let me select both
it seems to me that it is either one or the other.

If this is the case what can i use to select a Date AND Time quickly
(getting the user to type them in isnt really
an option as there guarenteed to type it all in wrong (dd/mm/yyyy 00:00:00)

thanks in advance

Mike Fellows
 
Mike Fellows said:
I want to use a datetimepicker to selct both Date and Time - but i
cant find out how to let me select both
it seems to me that it is either one or the other.

If this is the case what can i use to select a Date AND Time
quickly (getting the user to type them in isnt really
an option as there guarenteed to type it all in wrong (dd/mm/yyyy
00:00:00)

I don't understand this reason. I set Format = custom, and customformat =
"MM/dd/yyyy HH:mm:ss" and it works. The user can select the monthcalender
popping up when the arrow is pressed, and he can enter/change the time.


--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html
 
Thanks Armin

i was hoping to be able to pick the time of day, but it looks like this is
as good as it gets

Thanks

Mike
 
Hi Mike,

an easy was is to place two datetimepickers on the form besides
eachother, one for the date and one for the time. Or as Herfried K.
Wagner said in an other post :
<<Set the control's Format property to Custom and Customformat to
something
like "dd/MM/yyyy hh:mm:ss">>

Greetz Peter
 
Back
Top