to_timestamp

Function to_timestamp 

Source
pub fn to_timestamp<F: TimeZone>(time: &DateTime<F>) -> i64
Expand description

Returns the Unix timestamp (seconds since epoch).