-1

I want to show only day and month and not year in my date picker. Not sure how to achieve this. Please suggest.

Daij-Djan
  • 49,552
  • 17
  • 113
  • 135
Abhinav
  • 37,684
  • 43
  • 191
  • 309

2 Answers2

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!

Community
  • 1
  • 1
Pripyat
  • 2,937
  • 2
  • 35
  • 69
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