[.net] DateTimePicker?

Started by
4 comments, last by Kryptus 18 years, 7 months ago
Can the DateTimePicker control actually display the time? I can't find out how. I assume you can, hence the name. dateTIMEpicker.
Advertisement
Have you tried googling "DateTimePicker" and clicking the first link?

-DavidR-
In this world gone mad, we won't spank the monkey; the monkey will spank us.
I've already tried that. It only tells me about the DATE feature and still does not answer my question.
dateTimePicker1.Format = System.Windows.Forms.DateTimePickerFormat.Time;
Arguing on the internet is like running in the Special Olympics: Even if you win, you're still retarded.[How To Ask Questions|STL Programmer's Guide|Bjarne FAQ|C++ FAQ Lite|C++ Reference|MSDN]
Quote:Original post by Kryptus
I've already tried that. It only tells me about the DATE feature and still does not answer my question.

You need to spend time reading documentation. This might sound rude, but seriously, if you're going to be a programmer, you can't ask these type of questions - it's clearly documented. You just need to get used how to use MSDN. Here's one way of doing this:

1. Google for DateTimePicker
2. click the first link
(Most likely using the locally installed MSDN directly is even better than 1-2)
3. look around what properties the control DateTimePicker publishes
4. Well, it's probably not DateTimePicker.CalendarFont... But hey, what about DateTimePicker.Format? Wouldn't you just try setting it to DateTimePickerFormat.Time?

I do apologise. I was just a bit impatient. Thanks guys. Hope you understand.

This topic is closed to new replies.

Advertisement