tags:

views:

233

answers:

2

I've got a system built in CakePHP and one of the selection fields for the data is a year. Is there a simple way to put something into the condition array to match date on the selected year?

+1  A: 

You mean date("Y")? See http://php.net/manual/en/function.date.php

Residuum
A: 
deceze
It seems I was correct, awarding myself the Mind Reader badge. ;P
deceze