c# - How to show hours and minutes on the DateTimePicker -


i'm using c# .net , have windows form datetimepicker.

my question is: how can display hours , minutes (for user change) along year, month, , day?

check out customformat property: http://msdn.microsoft.com/en-us/library/system.windows.forms.datetimepicker.customformat.aspx

it allows set format you'd like. also, make apply, you'll have set datetimepicker.format custom.

edit: if provide better idea/example of format want displayed, can actual format string.


Comments

Popular posts from this blog

unicode - Are email addresses allowed to contain non-alphanumeric characters? -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

c++ - Convert big endian to little endian when reading from a binary file -