I am using a datepicker. Now, what i have to do is to show day, date, month and year only. Is there any way to do that. Thanks in advance.
You cannot customize the UIDatePicker instead you can change the mode it appears Try any of the following as per your requirement
UIDatePickerModeTime,
// Displays hour, minute, and optionally AM/PM designation depending on the locale setting (e.g. 6 | 53 | PM)UIDatePickerModeDate, // Displays month, minute, and year depending on the locale setting (e.g. November | 15 | 2007)
UIDatePickerModeDateAndTime,
// Displays date, hour, minute, and optionally AM/PM designation depending on the locale setting (e.g. Wed Nov 15 | 6 | 53 | PM)
4.UIDatePickerModeCountDownTimer
// Displays hour and minute (e.g. 1 | 53)
Happy Coding.
Thanks for the help. Is there any other way to create a customize date picker? I will appreciate your help.