bson_iter_timeval() — libbson 1.9.2

- libbson 1.9.2 »
- API Reference »
- bson_iter_t

# bson_iter_timeval()

## Synopsis

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

## Parameters

- `iter`: A bson_iter_t.
- `tv`: A struct timeval.

## Description

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`.

Created using Sphinx 1.6.5, based on Sphinx Readable Theme.