Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Nette
Database
Drivers
PgSqlDriver
formatDateTime
Nette\Database\Drivers\PgSqlDriver::formatDateTime PHP Method
PgSqlDriver Class Documentation
Show file
Open project: nette/database
formatDateTime()
public
method
Formats date-time for use in a SQL statement.
public
formatDateTime
(
$value
)
public function formatDateTime($value) { return $value->format("'Y-m-d H:i:s'"); }
PgSqlDriver
__construct
applyLimit
convertException
delimite
delimiteFQN
formatBool
formatDateInterval
formatDateTime
formatLike
getColumnTypes
getColumns
getForeignKeys
getIndexes
getTables
isSupported
normalizeRow