Learned that viewDidEnterBackground is only accessible from the AppDelegate. I have to pass timestamp data from the AppDelegate to the ViewController.