time_t
Contents
Copyright
2009-present, MongoDB, Inc.
1.30.4 Jun 08, 2025 BSON_ITER_TIME_T(3)
Description
The bson_iter_time_t() function shall return the number of seconds since the UNIX epoch, as contained in
the BSON_TYPE_DATE_TIME element.
Parameters
• iter: A bson_iter_t.
Returns
A time_t containing the number of seconds since the UNIX epoch.
Synopsis
time_t
bson_iter_time_t (const bson_iter_t *iter);
