Web3S_Demo > Web 3S Encoding Function Library > Date (UTC) to String (RFC3339)

Date (UTC) to String (RFC3339)

Encodes a UTC date into an RFC 3339-compliant string.

Inputs

In
Exec

Date
Date Time Structure (by ref)

The date-time value to encode.

Second Fraction
Boolean

Whether to include fractional seconds in the output.

Outputs

Out
Exec

RFC3339
String

The formatted RFC 3339 date-time string.