(Reading time: 1 minute)

VB .NET

  1. By default the DateTimePicker control displays either date or time only.
  2. To make the control display both date and time, we need to use the "CustomFormat" property of the control.
  3. 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".

 


Chillzee Tag Cloud

About Chillzee

Chillzee.com is an entrepreneurship portal.

The site provides informative topics on Organizational and Strategic needs.