Documentation

getDateToCharFunction

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

This non-static method returns SQL function for converting database fields and statements into a string.

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

$fieldName parameter is SQL unsafe.

Parameters

ParameterDescriptionVersion
$fieldNameDatabase field or statement.

See Also

Examples



© «Bitrix24», 2001-2024
Up