Метод getStartDate
Сигнатура метода
private function getStartDate(PeriodType $periodType): DateTime
Возвращает:
DateTime
Описание
Start of the period in user time: the deal grid filter reads dates as user time, so counting statistics from the server midnight would put the widget counters and the filtered grid on different boundaries.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$periodType
|
PeriodType
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/RepeatSale/Statistics/DataProvider.php
Расположение метода в файле
Строки
198–210