I want to display date in Date Picker Control in British Format that is
like today 02 Aug 2001
it should display 02-08-2001 not in American Style which is 08-02-2001
Printable View
I want to display date in Date Picker Control in British Format that is
like today 02 Aug 2001
it should display 02-08-2001 not in American Style which is 08-02-2001
Use the .CustomFormat property to designate the format you desire.
Here's an example for your format.
VB Code:
Option Explicit Private Sub Form_Load() DTPicker1.Value = Date DTPicker1.Format = dtpCustom DTPicker1.CustomFormat = "dd/MM/yyy" End Sub
Thx Robert
But i cannot give u reputation..
Spread Anywhere else ** Message **
I will give it you later...