Get rid of NSUserDefaults deprecated constants for date and time information.