MongoDate
PHP Manual

MongoDate::__toString

(PECL mongo >= 0.8.1)

MongoDate::__toStringReturns a string representation of this date

Descrição

public string MongoDate::__toString ( void )

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

Parâmetros

Esta função não possui parâmetros.

Valor Retornado

This date.


MongoDate
PHP Manual