Documentation

getDateToCharFunction

string public
\Bitrix\Main\DB\MssqlSqlHelper::getDateToCharFunction(
 string $fieldName
);

This method returns SQL function to convert database fields and statements into the string.

Resulting string format: YYYY-MM-DD HH:MI:SS.

Parameter $fieldName is SQL unsafe.

Parameters

ParameterDescriptionVersion
$fieldNameDatabase field of expression.

See Also

Examples



© «Bitrix24», 2001-2024
Up