PHP » GoLang |
login |
register |
about
|
GoLang MongoTimestamp::__construct
request it (266)
GoLang replacement for PHP's MongoTimestamp::__construct
[edit | history]
PHP MongoTimestamp::__constructPHP original manual for MongoTimestamp::__construct [ show | php.net ]MongoTimestamp::__construct(PECL mongo >= 1.0.1) MongoTimestamp::__construct — Creates a new timestamp
Description
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). Parameters
Return ValuesReturns this new timestamp. |
more
Recently updated
more
Most requested
more
Last requests
|