I'm writing a program in c++/cli visual studio 2010 and I don't know how to set a specific date into my datetime picker.
I also want to know how do I set the default day to today, so you can't go to dates that has already passed.
Use Value
property to set the current date/time, and MinDate
to set the earliest date that can be selected.
dateTimePicker1->MinDate = DateTime::Today;