objective c compare two date strings in NSDate

Posted by mac on Stack Overflow See other posts from Stack Overflow or by mac
Published on 2010-05-29T10:26:42Z Indexed on 2010/05/29 10:32 UTC
Read the original article Hit count: 789

Hi I am having two date as string , that is assigned to two labels,

one label holds current date string, that is may 29, 2010

similarly the other date will be selected by user in this same format, i need to check the user date is present, past , or future. by comparing with current date string.

please provide some sample code.

Thanks in advance.

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about iphone-sdk