Function timestamp_now

Source
pub fn timestamp_now() -> DateTime<Utc>
Expand description

Returns the current timestamp in UTC. This is useful for setting the timestamp of an event