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

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

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