Skip to content

Instantly share code, notes, and snippets.

@lobo-tuerto
Created December 4, 2008 17:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lobo-tuerto/32001 to your computer and use it in GitHub Desktop.
Save lobo-tuerto/32001 to your computer and use it in GitHub Desktop.
$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