0

Am using date time picker control in vb 6 to show time but when i try to store that in a access database it stores the default can somebody help me make it modify to store
only time...

4
Contributors
5
Replies
6
Views
6 Years
Discussion Span
Last Post by hkdani
0

Thanks nut its not working i think am clear of the doubt i have ita juat i want show only time in dypicker want to disable default value..

0

set the format type of DatePicker1 to custom
and set the format to hh-mm-ss

Edited by debasisdas: n/a

0

Check out the documentation on the Date Time Picker Control.

You have four different property values for format on the Date Time Picker control: use either dtpTime or dtpCustom as mentioned previously.

If you use dtpCustom, then you have to add runtime code to set the custom format for the control: e.g., dtpPicker1.CustomFormat = "hh:mm:ss"

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.