• Модуль: bizproc
  • Путь к файлу: ~/bitrix/modules/bizproc/lib/Calc/Libs/DateLib.php
  • Класс: BitrixBizprocCalcLibsDateLib
  • Вызов: DateLib::getFunctions
function getFunctions(): array
{
	return [
		'date' => [
			'args' => true,
			'func' => 'callDate',
			'description' => Loc::getMessage('BIZPROC_CALC_FUNCTION_DATE_DESCRIPTION'),
		],
		'dateadd' => [
			'args' => true,
			'func' => 'callDateAdd',
			'description' => Loc::getMessage('BIZPROC_CALC_FUNCTION_DATEADD_DESCRIPTION'),
		],
		'datediff' => [
			'args' => true,
			'func' => 'callDateDiff',
			'description' => Loc::getMessage('BIZPROC_CALC_FUNCTION_DATEDIFF_DESCRIPTION'),
		],
		'addworkdays' => [
			'args' => true,
			'func' => 'callAddWorkDays',
			'description' => Loc::getMessage('BIZPROC_CALC_FUNCTION_ADDWORKDAYS_DESCRIPTION'),
		],
		'workdateadd' => [
			'args' => true,
			'func' => 'callWorkDateAdd',
			'description' => Loc::getMessage('BIZPROC_CALC_FUNCTION_WORKDATEADD_DESCRIPTION'),
		],
		'isworkday' => [
			'args' => true,
			'func' => 'callIsWorkDay',
			'description' => Loc::getMessage('BIZPROC_CALC_FUNCTION_ISWORKDAY_DESCRIPTION'),
		],
		'isworktime' => [
			'args' => true,
			'func' => 'callIsWorkTime',
			'description' => Loc::getMessage('BIZPROC_CALC_FUNCTION_ISWORKTIME_DESCRIPTION'),
		],
		'touserdate' => [
			'args' => true,
			'func' => 'callToUserDate',
			'description' => Loc::getMessage('BIZPROC_CALC_FUNCTION_TOUSERDATE_DESCRIPTION'),
		],
		'getuserdateoffset' => [
			'args' => true,
			'func' => 'callGetUserDateOffset',
			'description' => Loc::getMessage('BIZPROC_CALC_FUNCTION_GETUSERDATEOFFSET_DESCRIPTION'),
		],
		'strtotime' => [
			'args' => true,
			'func' => 'callStrtotime',
			'description' => Loc::getMessage('BIZPROC_CALC_FUNCTION_STRTOTIME_DESCRIPTION'),
		],
		'locdate' => [
			'args' => true,
			'func' => 'callLocDate',
			'description' => Loc::getMessage('BIZPROC_CALC_FUNCTION_LOCDATE_DESCRIPTION'),
		],
		'settime' => [
			'args' => true,
			'func' => 'callSetTime',
			'description' => Loc::getMessage('BIZPROC_CALC_FUNCTION_SETTIME_DESCRIPTION'),
		],
	];
}