I have a date picker in a view, but I only want it to display the days and the months, not the years, is there any way to take the year out?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As others have pointed out: You are left alone, to create your own picker, but actually this isn’t difficult. A quick prototype, note that I use the first componet for days, second for years, this should be made acording to locale in a real world app:
you’ll find an example code at GitHub
The version you’ll find on GitHub knows about the month’s names of the most preferred language