DOKK / manpages / debian 11 / libbson-doc / bson_oid_get_time_t.3.en
BSON_OID_GET_TIME_T(3) libbson BSON_OID_GET_TIME_T(3)

bson_oid_get_time_t - bson_oid_get_time_t()

time_t
bson_oid_get_time_t (const bson_oid_t *oid);


oid: A bson_oid_t.

Fetches the generation time in seconds since the UNIX Epoch of oid.

A time_t containing the seconds since the UNIX epoch of oid.

MongoDB, Inc

2017-present, MongoDB, Inc

June 4, 2021 1.17.6