Time

public struct Time: Fn

Time constructs a time special type from an ISO 8601 offset date/time string. The special string now may be used to construct a time from the current request’s transaction time. Multiple references to now within the same query will be equal.

Reference.

  • Declaration

    Swift

    public init(fromString string: Expr)

    Parameters

    string

    ISO8601 offset date/time string, now can be used to create current request evaluation time.