Problem using DateTimePicker control

v_shriram

New member
Joined
Jan 15, 2009
Messages
2
Programming Experience
Beginner
Hi
I am using a DateTimePicker control in my vb.NET application. The date can be entered by the user in runtime instead of selecting when I do not set it to custom mode. But I want set it in custom mode as DD/MM/YY instead of the default MM/DD/YY format. When I do so the date can only be selected and cannot be entered manualy. How do I solve the problem ?
 

BleedNBlue

Member
Joined
Dec 19, 2011
Messages
10
Location
St. Louis, MO
Programming Experience
10+
Format is case sensitive (strange for Microsoft). Try

DateTimePicker1.Format = DateTimePickerFormat.Custom
DateTimePicker1.CustomFormat = "dd/MM/yy"
 
Top Bottom