Skip to main content

format_http_date

Function format_http_date 

Source
fn format_http_date(unix_secs: u64) -> String
Expand description

Formats a Unix timestamp (seconds) as an RFC 1123 GMT date, as SLS’s Date header requires (e.g. Mon, 03 Jan 2022 04:05:06 GMT).