class Timestamp
A PHP representation of the CQL timestamp
datatype
Methods
__construct
(int
$time = null, int
$usec = null )
Creates a new timestamp from either unix timestamp and microseconds or from the current time by default.
int
time
( )Unix timestamp.
float string
microtime
(bool
$get_as_float = false )
Microtime from this timestamp
DateTime
toDateTime
( )Converts current timestamp to PHP DateTime.
string
__toString
( )Returns a string representation of this timestamp.