I want to calculate the year from current NSDate. Suppose my current date 14-06-2012 so, what would be last date after end of year. (In simple way I can explain you that, if I have date 01-01-2012 then after end of year I would get 31-12-2012). So, how do I calculate year form current date. Following output I expect for my project:
- Next or End year Date where year end (Like 31-12-2012).
- Next or end year month (Last date month).
- Next or end year (Last date year or next year).
It Should be NSDate format. Hope you would able to understand my point.