Answer the question
In order to leave comments, you need to log in
How to set date and time in dateTimePicker C++/CLI?
On the Internet, they write the same thing everywhere (true for Sharpe):
DateTime date2010 = new DateTime(2010, 12, 31, 0, 0, 0);
dateTimePicker1.Value = date2010;
dateTimePicker1->Value = gcnew DateTime(year, month, day, hours, minutes, 0);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question