A: 
JaSk
If it's of any interest, I'm able to use the following without problems (MySQL): $q->andWhere('date_created > ?', date('Y-m-d', strtotime('30 days ago'))); Strange problem.
Tom