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

Popular posts from this blog

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -

javascript - Using jquery append to add option values into a select element not working -

javascript - Restarting Supervisor and effect on FlaskSocketIO -