Hello All,
I need to check whether an entered date [ taking input from user in textfield] is past date or not.
Thanks,
Sagar
Hello All,
I need to check whether an entered date [ taking input from user in textfield] is past date or not.
Thanks,
Sagar
Have a look at reference document
There are also earlierDate: and laterDate: and isEqualToDate:.
You can find the documentation on them here.
find something like:
if ([today laterDate:expDate] == expDate)