D7 API documentation
What's New
Modules
Main module in old core
addSecondsToDateTime
castToChar
convertDateField
convertDatetimeField
formatDate
getAliasLength
getCharToDateFunction
getColumnTypeByField
getConcatFunction
getConverter
getCurrentDateFunction
getCurrentDateTimeFunction
getDateToCharFunction
getDatetimeToDateFunction
getIsNullFunction
getLeftQuote
getLengthFunction
getQueryDelimiter
getRightQuote
getTopSql
prepareMerge
softCastTextToChar
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
Parameter | Description | Version |
---|---|---|
$value | Database field or expression to be passed. |
Examples
© «Bitrix24», 2001-2024
Up