• Модуль: voximplant
  • Путь к файлу: ~/bitrix/modules/voximplant/lib/integration/report/handler/base.php
  • Класс: BitrixVoximplantIntegrationReportHandlerBase
  • Вызов: Base::getDateExpressionWithTimeShiftForQuery
protected function getDateExpressionWithTimeShiftForQuery(): string
{
	$offset = CTimeZone::GetOffset();
	$sign = ($offset > 0 ? '-' : '+');
	$difference = abs($offset);

	return "subdate(%s, interval $sign".$difference." second)";
}