Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
extern crate chrono;
use chrono::*;
// Returns a Utc DateTime one billion seconds after start.
pub fn after(start: DateTime<Utc>) -> DateTime<Utc> {
start + Duration::seconds(1000000000)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment