Skip to main content

rfc2822_from_seconds

Function rfc2822_from_seconds 

Source
pub fn rfc2822_from_seconds(epoch: i64) -> String
Expand description

Formats a signed Unix timestamp as RFC 2822 text in UTC.

Timestamps outside Chrono’s supported range use its default UTC date and time before formatting.