PHP » GoLang |
login |
register |
about
|
GoLang MongoId::getTimestamp
request it (291)
GoLang replacement for PHP's MongoId::getTimestamp
[edit | history]
MongoId::getTimestamp(PECL mongo >= 1.0.1) MongoId::getTimestamp — Gets the number of seconds since the epoch that this id was created
Description
public int MongoId::getTimestamp
( void
)
This returns the same thing as running time() when the id is created. ParametersThis function has no parameters. Return ValuesReturns the number of seconds since the epoch that this id was created. There are only four bytes of timestamp stored, so MongoDate is a better choice for storing exact or wide-ranging times. |
more
Recently updated
more
Most requested
more
Last requests
|