I want to show only day and month and not year in my date picker. Not sure how to achieve this. Please suggest.
Asked
Active
Viewed 229 times
-1
-
1Your question is tagged [iphone] but you're referring to a Cocoa (Mac OS X) date picker control. Which is it? – BoltClock Oct 12 '10 at 18:35
-
2I think he doesn't mean that - I think he means the UIDatePicker. – Pripyat Oct 12 '10 at 18:44
2 Answers
1
you'll find the answer by Googling this and clicking on the first entry which happens to be from Stackoverflow also: UIDatePicker show only month and day
Hope it helps!
0
I solved this by setting the maximumDate property to current date. This disabled the dates from current date.

Abhinav
- 37,684
- 43
- 191
- 309