MongoTimestamp::__construct Creates a new timestamp &mongo.alternative.method.note; MongoDB\BSON\Timestamp::__construct &reftitle.description; public MongoTimestamp::__construct intsectime() intinc Creates a new timestamp. If no parameters are given, the current time is used and the increment is automatically provided. The increment is set to 0 when the module is loaded and is incremented every time this constructor is called (without the $inc parameter passed in). &reftitle.parameters; sec Number of seconds since the epoch (i.e. 1 Jan 1970 00:00:00.000 UTC). inc Increment. &reftitle.returnvalues; Returns this new timestamp. &reftitle.seealso; MongoTimestamp::__toString