add NSDate as parameters for minimum and maximum dates