MongoTimestamp::__toString

Returns a string representation of this timestamp

Hinweis:

This extension that defines this method is deprecated. Instead, the MongoDB extension should be used. Alternatives to this method include:

  • MongoDB\BSON\Timestamp::__toString

Beschreibung

public string MongoTimestamp::__toString ( void )

Returns the "sec" field of this timestamp.

Parameter-Liste

Diese Funktion hat keine Parameter.

Rückgabewerte

The seconds since epoch represented by this timestamp.