MongoTimestamp::__toString

Returns a string representation of this timestamp

注意:

このメソッドを定義している拡張モジュールは非推奨です。 かわりに MongoDB 拡張モジュールを使うべきです。 このメソッドの代替として、以下が使えます。

  • MongoDB\BSON\Timestamp::__toString

説明

public string MongoTimestamp::__toString ( void )

Returns the "sec" field of this timestamp.

パラメータ

この関数にはパラメータはありません。

返り値

The seconds since epoch represented by this timestamp.