• Модуль: imopenlines
  • Путь к файлу: ~/bitrix/modules/imopenlines/lib/integrations/report/statistic.php
  • Класс: BitrixImOpenLinesIntegrationsReportStatistic
  • Вызов: Statistic::getStatisticStartTime
private function getStatisticStartTime()
{
	$now = time();
	$twoMonthAgoTimeStamp = $now - (self::DAY_COUNT_FOR_PAST_STATISTIC * 24 * 60 * 60);
	return DateTime::createFromTimestamp($twoMonthAgoTimeStamp);
}