MongoDB\BSON\Timestamp::__constructConstruct a new Timestamp
&reftitle.description;
finalpublicMongoDB\BSON\Timestamp::__constructintegerincrementintegertimestamp
&reftitle.parameters;
increment (integer)
32-bit integer denoting the incrementing ordinal for operations within a
given second.
timestamp (integer)
32-bit integer denoting seconds since the Unix epoch.
&reftitle.errors;
&mongodb.throws.argumentparsing;
&reftitle.examples;
MongoDB\BSON\Timestamp::__construct example
]]>
&example.outputs;
int(1234)
["timestamp"]=>
int(5678)
}
]]>
&reftitle.seealso;
BSON Types: Timestamps