Please wait while we load your page...
 

Announcements

PHP Manual :: MongoTimestamp::__toString



MongoTimestamp::__construct || GridFS Classes || MongoTimestamp || PHP Manual

(PECL mongo >= 1.0.1)

MongoTimestamp::__toStringReturns a string representation of this timestamp

Description

public string MongoTimestamp::__toString ( void )

Returns the "sec" field of this timestamp.

Parameters

This function has no parameters.

Return Values

The seconds since epoch represented by this timestamp.



MongoTimestamp::__construct || GridFS Classes || MongoTimestamp || PHP Manual
Live Chat Not Available