• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/integration/report/handler/deal.php
  • Класс: Bitrix\Crm\Integration\Report\Handler\Deal
  • Вызов: Deal::getDayCountFromSecs
private function getDayCountFromSecs($secs)
{
	return (int)ceil($secs / (60 * 60 * 24));
}