ilog changes to NSDate