Quantcast
Channel: Yii Framework Forum
Viewing all articles
Browse latest Browse all 18717

Date Range Approach

$
0
0
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

Viewing all articles
Browse latest Browse all 18717

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>