format_time

Function format_time 

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

Formats the epoch timestamp as a UTC time like "13:02:59Z".

ยงErrors

Returns an error when epoch is out of range.