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
eZ
Publish
Core
FieldType
DateAndTime
Value
__construct
eZ\Publish\Core\FieldType\DateAndTime\Value::__construct PHP Method
Value Class Documentation
Show file
Open project: ezsystems/ezpublish-kernel
__construct()
public
method
Construct a new Value object and initialize with $dateTime.
public
__construct
(
DateTime
$dateTime
= null )
$dateTime
DateTime
Date/Time as a DateTime object
public function __construct(DateTime $dateTime = null) { $this->value = $dateTime; }
Value
__construct
__toString
fromString
fromTimestamp