logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

#define BSON_ITER_HOLDS_DATE_TIME(iter) \

Author

       MongoDB, Inc

Description

       The  bson_iter_date_time()  function  shall  return  the  number of milliseconds since the UNIX epoch, as
       contained in the BSON_TYPE_DATE_TIME element.

Parameters

iter: A bson_iter_t.

Returns

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

Synopsis

          #define BSON_ITER_HOLDS_DATE_TIME(iter) \
             (bson_iter_type ((iter)) == BSON_TYPE_DATE_TIME)

          int64_t
          bson_iter_date_time (const bson_iter_t *iter);

See Also