MongoTimestamp::__toString

(PECL mongo >= 1.0.1)

MongoTimestamp::__toStringReturns a string representation of this timestamp

説明

public MongoTimestamp::__toString ( void ) : string

Returns the "sec" field of this timestamp.

パラメータ

この関数にはパラメータはありません。

返り値

The seconds since epoch represented by this timestamp.