Рекурсивный акроним словосочетания «PHP: Hypertext Preprocessor»
Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 18038 программистов и 1743 робота. Сейчас ищут 1266 программистов ...
MongoId::getTimestamp - Gets the number of seconds since the epoch that this id was created
Вернуться к: MongoId
MongoId::getTimestamp
(PECL mongo >= 1.0.1)
MongoId::getTimestamp — Gets the number of seconds since the epoch that this id was created
This extension that defines this method is deprecated. Instead, the MongoDB extension should be used. There is no equivalent for this method in the new extension.
Описание
public int MongoId::getTimestamp
( void
)
This returns the same thing as running time() when the id is created.
Список параметров
У этой функции нет параметров.
Возвращаемые значения
Returns the number of seconds since the epoch that this id was created. There are only four bytes of timestamp stored, so MongoDate is a better choice for storing exact or wide-ranging times.
Вернуться к: MongoId