def iso8601_utc

cswap-bend-cli@0.1.0.0 · clock.bend:66

import cswap-bend-cli@0.1.0.0/clock.bend as Clock
import Base

66# `2026-10-30T09:00:00Z`, as the reference's strftime writes it.
67def iso8601_utc(+t: U32) -> String:
68  iso.fmt(civil((t / 86400 : U32)), (t % 86400 : U32), "Z")

Uses (6)

Used by (16)