Simple 'DateTimePicker' Question
Managed C++/CLI
2
Posts
2
Posters
0
Views
1
Watching
-
Hello. I would like to get only the Date of a DateTimePicker control. I know I can use: DateTimePicker DTP; String* Date = DTP->Value.get_Date().ToString(); My problem is that the Time is set to '00:00:00' and I don't want it inside my string. What is the best why to get only the date out of a DateTimePicker control? Thanks.
-
Hello. I would like to get only the Date of a DateTimePicker control. I know I can use: DateTimePicker DTP; String* Date = DTP->Value.get_Date().ToString(); My problem is that the Time is set to '00:00:00' and I don't want it inside my string. What is the best why to get only the date out of a DateTimePicker control? Thanks.