About Brandon Drake Expertise I can answer questions regarding the Graphics object, file access, general optimization, printing (on paper), user controls, program mathematics, the registry, creating macros, processes, and fundamental or basic questions. I have made a few asp.net pages but I do not know the language extensively. I have not done much work with databases but I have created my own database systems.
Experience I have been programming with visual basic for 6 years. In all I have written programs in about 8 programming languages, although, I only know about 3 well. I have written a few applications but mainly I like to write programs for fun.
Question I'm using the DateTimePicker and I set the default date to: "DateTimePicker1.Value = New DateTime(2006, 1, 1)" in the Form Load routine however, when it displays on the form it displays as: "Sunday , January 1, 2006". How can I do to supress the day from showing.
Thanks.
Answer Tony,
In order to change the format of the date that is displayed you need to set the "Format" property of the DateTimePicker to "Custom". You then need to set the "CustomFormat" property of the control to a string representing the format used to display dates.
If you set the CustomFormat property to "MMMM d, yyyy" the dates will be displayed like "January 1, 2006"