How to compare the year with the current year in iphone?

Posted by Warrior on Stack Overflow See other posts from Stack Overflow or by Warrior
Published on 2010-04-20T09:28:07Z Indexed on 2010/04/20 9:33 UTC
Read the original article Hit count: 123

Filed under:
|

I am new to iphone development.I am parsing a XML URL and display the title ,date and summary in a table view.I noticed some of the date were very old like "Wed, 31 Dec 1969 19:00:00 -0500" ,So i don't want to display the dates which are 1 year older than the current year.How to do that? I used the sample code from this site for parsing and display the details.Please help me out.Thanks.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about dates