1BSON_ITER_OVERWRITE_DATE_TIME(3) libbson BSON_ITER_OVERWRITE_DATE_TIME(3)
2
3
4
6 bson_iter_overwrite_date_time - bson_iter_overwrite_date_time()
7
9 void
10 bson_iter_overwrite_date_time (bson_iter_t *iter, int64_t value);
11
13 • iter: A bson_iter_t.
14
15 • value: The date and time as specified in milliseconds since the UNIX
16 epoch.
17
19 The bson_iter_overwrite_date_time() function shall overwrite the con‐
20 tents of a BSON_TYPE_DATE_TIME element in place.
21
22 This may only be done when the underlying bson document allows muta‐
23 tion.
24
25 It is a programming error to call this function when iter is not ob‐
26 serving an element of type BSON_TYPE_DATE_TIME.
27
29 MongoDB, Inc
30
32 2017-present, MongoDB, Inc
33
34
35
36
371.20.0 Nov 18, 2021 BSON_ITER_OVERWRITE_DATE_TIME(3)