evseevnn\Cassandra\Protocol\Response\DataStream::readTimestamp PHP Method

readTimestamp() public method

Cassandra is using the default java date representation, which is the milliseconds since epoch. Since we cannot use 64 bits integers without extra libraries, we are reading this as two 32 bits numbers and calculate the seconds since epoch.
public readTimestamp ( ) : integer
return integer
    public function readTimestamp()
    {
        return $this->readBigInt() / 1000;
    }