MongoTimestamp::__constructCreates a new timestamp.
Beschreibung
public MongoTimestamp::__construct
([ int
$sec = time()
[, int $inc
]] )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). Parameter-Liste
RückgabewerteReturns this new timestamp. Siehe auch
|