Skip to main content

current_timestamp_rfc3339

Function current_timestamp_rfc3339 

Source
pub fn current_timestamp_rfc3339() -> String
Expand description

Return the current wall-clock time as an RFC 3339 / ISO 8601 string in UTC with second precision. Used for telemetry/health fields that previously relied on chrono::Utc::now().to_rfc3339().