Hello,

I need to have my date into a label.text = 03/10/2011

I'm able to do that on my datetimepicker1 but when I try to pass to the text it brings in short date = 3/10/2011
I need the zeros.

Code:
'format the datetimepicker value
        Me.DateTimePicker1.CustomFormat = "MM/dd/yyyy"
        Me.DateTimePicker1.Format = DateTimePickerFormat.Custom

        Me.Label1.Text = Me.DateTimePicker1.Value.ToShortDateString
How can I have the value of label1.text with 03/10/2011 and not 3/10/2011?

thanks,

Kerb