• Модуль: sender
  • Путь к файлу: ~/bitrix/modules/sender/lib/dispatch/methodschedule.php
  • Класс: BitrixSenderDispatchMethodSchedule
  • Вызов: MethodSchedule::getTimeList
static function getTimeList()
{
	$list = [];
	$timesOfDayHours = ['00', '30'];
	for ($hour = 0; $hour < 24; $hour++)
	{
		$hourPrint = str_pad($hour, 2, "0", STR_PAD_LEFT);
		foreach ($timesOfDayHours as $timePartHour)
		{
			$list[] = $hourPrint . ":" . $timePartHour;
		}
	}

	return $list;
}