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
Jyxo
Time
Time
__toString
Jyxo\Time\Time::__toString PHP Method
Time Class Documentation
Show file
Open project: jyxo/php
__toString()
public
method
Returns date/time in the unix timestamp format.
public
__toString
( ) :
string
return
string
Returns empty string if the stored date/time has no valid UT representation
public function __toString() : string { return (string) $this->dateTime->getTimestamp(); }
Time
__call
__construct
__get
__toString
createFromFormat
createTimeZone
format
formatAsInterval
formatExtended
get
getTimeZone
hasHappened
minus
now
plus
revertOriginalTimeZone
serialize
setTemporaryTimeZone
setTimeZone
truncate
unserialize