Function cassandra_cpp_sys::cass_time_from_epoch
source · pub unsafe extern "C" fn cass_time_from_epoch(
epoch_secs: cass_int64_t,
) -> cass_int64_t
Expand description
Converts a unix timestamp (in seconds) to the Cassandra “time” type. The “time” type represents the number of nanoseconds since midnight (range 0 to 86399999999999).
@cassandra{2.2+}
@param[in] epoch_secs @return nanoseconds since midnight