MongoDB\BSON
PHP Manual

The MongoDB\BSON\Timestamp class

(mongodb >=1.0.0)

Introduction

Represents a » BSON timestamp, which is an internal MongoDB type not intended for general date storage.

Class synopsis

MongoDB\BSON\Timestamp implements MongoDB\BSON\Type {
/* Methods */
final public __construct ( integer $increment , integer $timestamp )
final public string __toString ( void )
}

Table of Contents


MongoDB\BSON
PHP Manual