LLM docs

Utc

Utc

Stores a timestamp as nanoseconds since UNIX EPOCH

now : {} -> Task Utc *

Duration since UNIX EPOCH

toMillisSinceEpoch : Utc -> I128

Convert Utc timestamp to milliseconds

fromMillisSinceEpoch : I128 -> Utc

Convert milliseconds to Utc timestamp

toNanosSinceEpoch : Utc -> I128

Convert Utc timestamp to nanoseconds

fromNanosSinceEpoch : I128 -> Utc

Convert nanoseconds to Utc timestamp

deltaAsMillis : Utc, Utc -> U128

Calculate milliseconds between two Utc timestamps

deltaAsNanos : Utc, Utc -> U128

Calculate nanoseconds between two Utc timestamps