I am making an alarm clock in which i use three text field in which user enter value like as 9:10:AM. Now i want to convert the values of all three text filed in to second and then set notification for that time on next day. The problem is that i convert it into second and how set date and time for next day for notification?
Another problem is how calculate time difference between current time set time?
For example i set time in text field is 9:00:am And current time is 6:00:pm. Now how set local-notification for set time of next day?
Thanks in advance…
Did you look at NSDateFormatter?