PHP 8.2.0 Alpha 3 available for testing

MongoDB\Driver\ServerDescription::getLastUpdateTime

(mongodb >=1.13.0)

MongoDB\Driver\ServerDescription::getLastUpdateTimeReturns the server's last update time in microseconds

Descripción

final public MongoDB\Driver\ServerDescription::getLastUpdateTime(): int

Returns the server's last update time in microseconds.

Nota: The returned value is a monotonic timestamp, which starts at an arbitrary point. As such, it is only suitable to compare with other return values from MongoDB\Driver\ServerDescription::getLastUpdateTime().

Parámetros

Esta función no tiene parámetros.

Valores devueltos

Returns the server's last update time in microseconds.

Errores/Excepciones

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top