Scroll to navigation

BSON_OID_GET_TIME_T(3) libbson BSON_OID_GET_TIME_T(3)

SYNOPSIS

time_t
bson_oid_get_time_t (const bson_oid_t *oid);


PARAMETERS

oid: A bson_oid_t <>.

DESCRIPTION

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

RETURNS

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

Author

MongoDB, Inc

Copyright

2009-present, MongoDB, Inc.

December 11, 2025 2.2.1