format_date

Function format_date 

Source
pub fn format_date(epoch: u64) -> Result<String, String>
Expand description

Formats the epoch timestamp as a UTC date like "2021-05-04Z".

ยงErrors

Returns an error when epoch is out of range.