Time DateTimePicker Vlaue
Hello Everyone...
I am working with DTPicker in (so so)Time mode..
I need to pass the Time value to String or Text...
But the control is passing Date & Time...
I am working 24Hours format and have format in dtpCustom
I setting Format in this manner: HH:mm:ss
but, it not works like I want...
dtpTime format... nothing (shows 12 time format)
I need only Time value!!!
Thank's ...
[email protected]
Re: Time DateTimePicker Vlaue
use format function to format the value received from the DatePicker eg
Dim time as date
time = DTPicker1.Value 'time= 6/7/01 01:15:00
Format(time, "HH:mm:ss") 'time= 01:15:00
Neeraj Sharma
Beehive Systems Ltd.
NOIDA, INDIA
[email protected]