Refer the below Sample How set The Current Date as Defaut date To DateTimePicker in Windows Form.
Form
C#
private void Form1_Load(object sender, EventArgs e)
{
// Set DatePicker Format as Custom
this.dtpFromdate.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
this.dtpTodate.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
// Set Custome Date Formate
this.dtpFromdate.CustomFormat = "dd/MM/yyyy"; // or "MM/dd/yyyy"
this.dtpTodate.CustomFormat = "dd/MM/yyyy"; //or "MM/dd/yyyy"
// Set Default date as todays date
dtpFromdate.Value = DateTime.Now;
dtpTodate.Value = DateTime.Now;
}
VB.Net
Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
'Set DatePicker Format as Custom
Me.dtpFromdate.Format = System.Windows.Forms.DateTimePickerFormat.Custom
Me.dtpTodate.Format = System.Windows.Forms.DateTimePickerFormat.Custom
'Set Custome Date Formate
this.dtpFromdate.CustomFormat = "dd/MM/yyyy"; ' or "MM/dd/yyyy"
this.dtpTodate.CustomFormat = "dd/MM/yyyy"; ' or "MM/dd/yyyy"
'Set Default date as todays date
dtpFromdate.Value = DateTime.Now
dtpTodate.Value = DateTime.Now
End Sub
Screenshot