1BSON_ITER_DATE_TIME(3)              libbson             BSON_ITER_DATE_TIME(3)
2
3
4

NAME

6       bson_iter_date_time - bson_iter_date_time()
7

SYNOPSIS

9          #define BSON_ITER_HOLDS_DATE_TIME(iter) \
10             (bson_iter_type ((iter)) == BSON_TYPE_DATE_TIME)
11
12          int64_t
13          bson_iter_date_time (const bson_iter_t *iter);
14

PARAMETERS

16       · iter: A bson_iter_t.
17

DESCRIPTION

19       The bson_iter_date_time() function shall return the number of millisec‐
20       onds since the UNIX epoch, as contained in the BSON_TYPE_DATE_TIME ele‐
21       ment.
22

RETURNS

24       A  64-bit  integer containing the number of milliseconds since the UNIX
25       epoch.
26

AUTHOR

28       MongoDB, Inc
29
31       2017-present, MongoDB, Inc
32
33
34
35
361.16.2                           Feb 25, 2020           BSON_ITER_DATE_TIME(3)
Impressum