D7 API documentation
What's New
Modules
Main module in old core
addSecondsToDateTime
castToChar
convertDateField
convertDatetimeField
convertStringField
forSql
formatDate
getAliasLength
getCharToDateFunction
getColumnTypeByField
getConcatFunction
getConverter
getCurrentDateFunction
getCurrentDateTimeFunction
getDateToCharFunction
getDatetimeToDateFunction
getFieldByColumnType
getIsNullFunction
getLeftQuote
getLengthFunction
getQueryDelimiter
getRightQuote
getSubstrFunction
getTopSql
prepareMerge
softCastTextToChar
getDatetimeToDateFunction
string public \Bitrix\Main\DB\MssqlSqlHelper::getDatetimeToDateFunction( string $value );
This non-static method returns SQL function that passes the value $value
into the Date/Time
database type.
The parameter $value
is SQL unsafe.
Parameters
Parameter | Description | Version |
---|---|---|
$value | Databse field or expression to be passed. |
Examples
© «Bitrix24», 2001-2024
Up