We would like to use DateTimePicker for set a membership start and finish date with an optional time.
From: [ ] To: [ ]
(DateRangePicker is not ideal for our use case).
Now, we don't want to clutter the gui with time, because there are only rarely used. So it should not display a time by default. Only after the user clicks on the time dropdown, and selects something other than 00:00, it should display the time.
Also, for the "To:" control, the time should default to 23:59:59. But also, this should be invisible. For example, if the user selects 2019-12-15, it should return 2019-12-15T23:59:59 by default.