Function cassandra_cpp_sys::cass_date_from_epoch
[−]
[src]
pub unsafe extern "C" fn cass_date_from_epoch(
epoch_secs: cass_int64_t
) -> cass_uint32_t
Converts a unix timestamp (in seconds) to the Cassandra "date" type. The "date" type represents the number of days since the Epoch (1970-01-01) with the Epoch centered at the value 231.
@cassandra{2.2+}
@param[in] epoch_secs @return the number of days since the date -5877641-06-23