pub fn strftime_utc(
format: impl AsRef<str>,
ts_seconds: TimeStamp,
) -> Result<String, Error>
Expand description
Return the current time in the specified format, in the UTC time zone. The time is assumed to be the number of seconds since the Epoch.
This function will validate the format string before attempting to format the time.