user2765899
user2765899

Reputation: 107

How to set custom format for datetimepicker in vb.net?

I just want to ask something, can I use a 12/10/93 date format in datetimepicker in VB.Net? mm/dd/yy specifically. If I can, how?

Upvotes: 4

Views: 39141

Answers (1)

Victor Zakharov
Victor Zakharov

Reputation: 26414

In the properties window for your DateTimePicker, set Format to Custom, then set CustomFormat to MM/dd/yy, note the upper case MM, lower case is reserved for minutes.

enter image description here

Upvotes: 14

Related Questions