mongo.oid.time: Get an Object ID's time

Description Usage Arguments Details Value See Also Examples

View source: R/bson.R

Description

Get the 32-bit UTC time portion of an OID (Object ID).

Usage

1

Arguments

oid

(mongo.oid) The OID to be examined.

Details

See http://www.mongodb.org/display/DOCS/Object+IDs

Value

(integer) ("POSIXct") The time portion of the given oid.

See Also

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.

Examples

1
2

jonkatz2/rmongodb documentation built on May 19, 2019, 7:30 p.m.