Now I’m attaching the NSDate to a variable called backgroundDate when the application goes into the background.