Метод toServerTime
Сигнатура метода
private function toServerTime(DateTime $userTime): DateTime
Возвращает:
DateTime
Описание
The offset is taken for the date being converted, not for the present moment: a period that starts on the other side of a daylight saving change has an offset of its own, and the grid filter converts the same date with the same date-aware offset.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$userTime
|
DateTime
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/RepeatSale/Statistics/DataProvider.php
Расположение метода в файле
Строки
217–220