How might one get a function to be called at given time and date? For example, I would like to store some values of some variables at midnight (and clear them to zero) so they can be compared with the previous days values.
How might I accomplish this in Objective-C?
Thanks,
Jack