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
Parameter | Description | Version |
---|---|---|
$fieldName | Database field of expression. |
See Also
Examples
© «Bitrix24», 2001-2025