Description Usage Arguments Details Value See Also Examples
Get the 32-bit UTC time portion of an OID (Object ID).
1 | mongo.oid.time(oid)
|
oid |
(mongo.oid) The OID to be examined. |
See http://www.mongodb.org/display/DOCS/Object+IDs
(integer) ("POSIXct") The time portion of the given oid
.
mongo.oid,
mongo.oid.create
,
as.character.mongo.oid
,
mongo.oid.to.string
,
mongo.oid.from.string
,
mongo.bson.buffer.append
,
mongo.bson.buffer.append.oid
,
mongo.bson.buffer,
mongo.bson.
1 2 | oid <- mongo.oid.create()
print(mongo.oid.time(oid))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.