DOKK / manpages / debian 12 / libbson-doc / bson_iter_timeval.3.en
BSON_ITER_TIMEVAL(3) libbson BSON_ITER_TIMEVAL(3)

bson_iter_timeval - bson_iter_timeval()

void
bson_iter_timeval (const bson_iter_t *iter, struct timeval *tv);


  • iter: A bson_iter_t.
  • tv: A struct timeval.

The bson_iter_timeval() function shall return the number of seconds and microseconds since the UNIX epoch, as contained in the BSON_TYPE_DATE_TIME element into tv.

MongoDB, Inc

2017-present, MongoDB, Inc

October 20, 2022 1.23.1