toString()

Convert a Time to a String.

Signature

toString(): String

Description

Convert calling time object to a String representation.

Parameters

None

Return value

Type Description

String

String representation of the calling time object.

Examples

let t = Time("2022-10-20T21:15:09.890729Z")
t.toString()
"2022-10-20T21:15:09.890729Z"

Is this article helpful? 

Tell Fauna how the article can be improved:
Visit Fauna's forums or email docs@fauna.com

Thank you for your feedback!