Documentation

getDatetimeToDateFunction

string public
\Bitrix\Main\DB\MysqlCommonSqlHelper::getDatetimeToDateFunction(
 string $value
);

This non-static method returns SQL function, passing $value to datetime database type.

$value parameter is SQL unsafe.

Parameters

ParameterDescriptionVersion
$valueDatabase field or expression to be passed.

Examples



© «Bitrix24», 2001-2024
Up