I want to know whether the current time is present between the start time and the enter, both (start-time and end-time) are static. Something like this suppose my current time is 10:15 AM the start time is 9:15AM and End time is 11:00 AM. So this should be the function should return me A BOOL value that is in this case is yes, now suppose my current time is 12:00 AM then the function should return me a bool value NO. So I am in confusion about how to create such a function (method) which will do the above trick. Note the start time and end time will be for the same day.
Share
NSDate has all the functions you need to do this. Check out the documentation.