bson_oid_get_time_t (3) - Linux Manuals
bson_oid_get_time_t: Fetches the generation time in seconds since the UNIX Epoch of oid.
Command to display bson_oid_get_time_t
manual in Linux: $ man 3 bson_oid_get_time_t
NAME
bson_oid_get_time_t() - Fetches the generation time in seconds since the UNIX Epoch of oid.
SYNOPSIS
time_t
bson_oid_get_time_t (const bson_oid_t *oid);
PARAMETERS
- oid
-
A
bson_oid_t
\&.
DESCRIPTION
Fetches the generation time in seconds since the UNIX Epoch of
oid
\&.
RETURNS
A time_t containing the seconds since the UNIX epoch of
oid
\&.
COLOPHON
This page is part of libbson.
Please report any bugs at
https://jira.mongodb.org/browse/CDRIVER.
Pages related to bson_oid_get_time_t
- bson_oid_compare (3) - The bson_oid_compare() function shall return a qsort() style value of a lexicographical sort of _oid1_ and _oid2_.
- bson_oid_copy (3) - Copies the contents of src into dst.
- bson_oid_equal (3) - Checks if two bson_oid_t contain the same bytes.
- bson_oid_hash (3) - Generates a hash code for oid suitable for a hashtable.
- bson_oid_init (3) - Generates a new bson_oid_t using either context or the default bson_context_t.
- bson_oid_init_from_data (3) - Initializes a bson_oid_t using the raw buffer provided.
- bson_oid_init_from_string (3) - Parses the string containing hex encoded oid and initialize the bytes in oid.
- bson_oid_init_sequence (3) - Generates a new ObjectID using the 64-bit sequence.
- bson_oid_is_valid (3) - Checks if a string containing a hex encoded string is a valid BSON ObjectID.
- bson_oid_t (3) - BSON ObjectID Abstraction
- bson_oid_to_string (3) - Converts oid into a hex encoded string.
- bson_append_array (3) - The bson_append_array() function shall append child to bson using the specified key. The type of the field will be an array, but it is the responsibility of the caller to ensure that the keys of child are properly formatted with string keys such as "0", "1", "2" and so forth.