Man page - bson_iter_time_t(3)

Packages contas this manual

Manual

BSON_ITER_TIME_T(3) libbson BSON_ITER_TIME_T(3)

time_t
bson_iter_time_t (const bson_iter_t *iter);


iter: A bson_iter_t.

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.

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

MongoDB, Inc

2009-present, MongoDB, Inc.

December 18, 2025 1.30.4