MongoTimestamp
PHP Manual

MongoTimestamp::__toString

(PECL mongo >= 1.0.1)

MongoTimestamp::__toStringReturns a string representation of this timestamp

Описание

public string MongoTimestamp::__toString ( void )

Returns the "sec" field of this timestamp.

Список параметров

У этой функции нет параметров.

Возвращаемые значения

The seconds since epoch represented by this timestamp.


MongoTimestamp
PHP Manual