An implementation of the NSDate function that Apple added to the iOS 7 beta and then removed from the final release.