Skip to content

Instantly share code, notes, and snippets.

@nyphalim
Last active November 2, 2015 10:43
Show Gist options
  • Select an option

  • Save nyphalim/0da0f5fba8b94d420209 to your computer and use it in GitHub Desktop.

Select an option

Save nyphalim/0da0f5fba8b94d420209 to your computer and use it in GitHub Desktop.
$arFilter = Array(
"IBLOCK_ID"=>array("6", "22", "4"),
"ACTIVE"=>"Y",
">PROPERTY_WDATE" => FormatDate("Y-m-d H:i", mktime(date("H"), 0, 0, date("m"), date("d"), date("Y"))),
"<PROPERTY_WDATE" => FormatDate("Y-m-d H:i", mktime(0, 0, 0, date("m"), date("d")+1, date("Y"))),
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment