Answer the question
In order to leave comments, you need to log in
How to set up a filter by date in Bitrix?
I tried different options, it does not help - it displays the wrong range and that's it.
$arFilter = Array("IBLOCK_ID"=>array(2, 3), "<ACTIVE_FROM"=> "15.08.2015");
$res = CIBlockElement::GetList(Array("PROPERTY_START_DATE" => "DESC"), $arFilter, false, false, $arSelect);
Answer the question
In order to leave comments, you need to log in
I don’t know how for standard date fields, but for date / time properties - this format works
trim(CDatabase::CharToDateFunction(ConvertTimeStamp(strtotime("30.08.2015"),'FULL')),"\'"))
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question