I’ve a date picker associated with a text field.Text field has value like this Thursday, November 22nd(string recieved from server call).
Now i want that when i click on text field date picker should sow default date that is displayed in text field.
I guess i’ve to call [datePicker setDate:date animated:YES]; but problem is that how to convert string Thursday, November 22nd into NSDate?
Thanks in advance.
I’ve a date picker associated with a text field.Text field has value like this
Share
I assume u would like current year in your date: