bson_iter_time_t man page

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

Synopsis

time_t
bson_iter_time_t (const bson_iter_t *iter);

Parameters

iter
A bson_iter_t

Description

The bson_iter_time_t(3) function shall return the number of seconds since the UNIX epoch, as contained in the BSON_TYPE_DATE_TIME element.

Returns

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

Colophon

This page is part of libbson. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.

Info

2016‐10‐28 libbson