Hi all of you, i have a problem trying to get a date range in a CActiveDataProvider, is like a bithday reminder, i've an entry date
eg. 2010-04-06,
and I want that when
eg. 2013-03-31,
(7 days before event) comes, the date get into my dataprovider to send a notification, I try to use a addBetweenCondition but I must specify a year range and I dont know how to deal with... regards
eg. 2010-04-06,
and I want that when
eg. 2013-03-31,
(7 days before event) comes, the date get into my dataprovider to send a notification, I try to use a addBetweenCondition but I must specify a year range and I dont know how to deal with... regards