You are on page 1of 1

Public Sub SetMyCustomFormat() ' Set the Format type and the CustomFormat string. dateTimePicker1.Format = DateTimePickerFormat.Custom dateTimePicker1.

CustomFormat = "MMMM dd, yyyy - dddd" End Sub 'SetMyCustomFormat lblDate.Text = DateTimePicker1.Value.Today MessageBox.Show(Me.DateTimePicker1.Value.Date)

You might also like