php man page for mongotimestamp

Query: mongotimestamp

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

MONGOTIMESTAMP(3)							 1							 MONGOTIMESTAMP(3)

The MongoTimestamp class

INTRODUCTION
MongoTimestamp is an internal type used by MongoDB for replication and sharding. It consists of a 4-byte timestamp (i.e. seconds since the epoch) and a 4-byte increment. This type is not intended for storing time or date values (e.g. a "createdAt" field on a document). Note Unless you are writing an application that interacts with MongoDB's replication oplog or sharding internals: stop, go directly to MongoDate, do not pass go, and do not collect 200 dollars. This is not the class you are looking for.
CLASS SYNOPSIS
MongoTimestamp MongoTimestamp Fields o public int$sec0 o public int$inc0 Methods o public MongoTimestamp::__construct ([int $sec = time()], [int $inc]) o public string MongoTimestamp::__toString (void ) PHP Documentation Group MONGOTIMESTAMP(3)
Related Man Pages
mongocollection(3) - php
mongodb(3) - php
reflectionfunctionabstract(3) - php
spldoublylinkedlist(3) - php
spltempfileobject(3) - php
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
User Guide: Posting in the Emergency Forum
Rules for Homework & Coursework Questions Forum
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch
Denial Of Service Attack Update