Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
$params = Array(
'conditions' => Array(
'or' => Array(
'Holidays.date' => $date,
'and' => Array(
'MONTH(Holidays.date)' => $month,
'DAY(Holidays.date)' => $day,
'Holidays.is_yearly' => 1
)
)
)
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment