Okei,, so I am trying to retrieve some info from my database with a +/- 10 days setting.
Values:
Event.start_date = y-m-d
Event.end_date = y-m-d
My.date = y-m-d
$conditions["My.date >="] = date( 'Y-m-d');
$conditions["My.date -10 >="] = Event.start_date;
$conditions["My.date +10 >="] = Event.end_date;
Any suggestions how I can achive this?
This is how 🙂