DateTimeType

class \TYPO3\CMS\Core\Database\Schema\Types\DateTimeType

Extends
DateTimeType

This custom type extends doctrine native DateTimeType to allow a formatted string (in "Y-m-d H:i:s") directly, in addition to a DateTimeInterface.

Table of Contents

Methods

convertToDatabaseValue()  : string|null

Methods

convertToDatabaseValue()

public convertToDatabaseValue(mixed $value, AbstractPlatform $platform) : string|null

Parameters

$value : mixed
$platform : AbstractPlatform

Return values

string|null
On this page