format_iso8601_utc

Function format_iso8601_utc 

Source
pub fn format_iso8601_utc(ts: TimeStamp) -> Result<String, Error>
Expand description

Format a timestamp according to ISO 8601 format in UTC.

ISO 8601 is an international standard for date and time representations. This function returns the timestamp in the format: YYYY-MM-DDThh:mm:ssZ

Example: ā€œ2025-05-20T14:30:45Zā€

For more details on ISO 8601, see: https://en.wikipedia.org/wiki/ISO_8601