compare - NSDate comparison confusion -
i have:
nsstring *dateofbirth = @"1997-01-13t00:00:00+1000"
i present user date picker allow them choose date compare above dateofbirth
string representation of date.
assuming choose 1997-01-13
nsdate compare, convert dateofbirth
nsdate 1997-01-12 14:00:00 +0000
(when nslogged) when compared user selected not result in nsorderedsame
. have not played around nsdates much. how can handle nsorderedsame
when 2 dates compared.
Comments
Post a Comment