SYNOPSIS

#include <bson.h>

time_t
bson_oid_get_time_t (const bson_oid_t *oid);

DESCRIPTION

The bson_oid_get_time_t() function shall return the UNIX timestamp used when generating oid.

RETURN VALUE

A time_t containing the UNIX timestamp in seconds of oid.

AUTHORS

This page was written by MongoDB, Inc.