title: Separate Month and year from a date array in objective C
body: <p>I'm having a array of dates in this dd MMM yyyy format.Now I need to separate month and year in separate arrays from this array. Now if I select particular month and year say if I bind the year and month arrays in UIpickerview  and select a particular year and month I need to get the corresponding list of dates in that year and month which was the dates in previous original array. For eg if Jan and 2012 are selected I need to get dates like {01 Jan 2012,05 Jan 2012,..28 Jan 2012} . I'm a beginner in objective C any help will be appreciated.</p>