I\'m building an application with C# code. How do I get only the date value from a DateTimePicker control?
DateTimePicker
DateTime dt = this.dateTimePicker1.Value.Date;