- By default the DateTimePicker control displays either date or time only.
- To make the control display both date and time, we need to use the "CustomFormat" property of the control.
- For example, to make the DateTimePicker display both date and time, set the "CustomFormat" property of the control to "MM-dd-yyyy HH:mm" and the "Format" property to "Custom".