Check out v4 of the Fauna CLI

v4 of the Fauna CLI is now in beta.

The new version introduces enhancements to the developer experience, including an improved authentication workflow. To get started, check out the CLI v4 quick start.

date.toString()

Convert a Date to a String.

Signature

toString() => String

Description

Convert calling date object to a String representation.

Parameters

None

Return value

Type Description

String

String representation of the calling date object.

Examples

let d = Date("2099-10-20")
d.toString()
"2099-10-20"

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!