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
Post a Comment