Php/docs/mongodate.tostring

提供:Dev Guides
< Php
移動先:案内検索

MongoDate::__toString

(PECL mongo >= 0.8.1)

MongoDate::__toStringReturns a string representation of this date


このメソッドを定義している拡張モジュールは非推奨です。

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

説明

public MongoDate::__toString ( ) : string

Returns a string representation of this date, similar to the representation returned by microtime().


パラメータ

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


返り値

This date.