Actually, how to take only the date from C ++ CLI from the datatimepicker?

    2 answers 2

    This should be the solution:

    dateTimePicker1.Value.ToShortDateString(); 

    Right?

      This should be the solution:

      dateTimePicker1.Value. ToShortDateString ();

      Right?

      Yes, that's right)) Thank you. Only in C ++. It looks like this:

       dateTimePicker1->Value.ToShortDateString()