MongoTimestamp::__construct
(PECL mongo >= 1.0.1)
MongoTimestamp::__construct — Creates a new timestamp.
Описание
public MongoTimestamp::__construct
([ int $sec = time()
[, int $inc
]] )
Список параметров
-
sec
-
Number of seconds since January 1st, 1970.
-
inc
-
Increment.
Возвращаемые значения
Returns this new timestamp.