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. |
Time.fromString()
Description
The Time.fromString()
method converts an ISO 8601 timeString to a
Time value.
Parameter fields:
Time field | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
|
Four-digit year. |
||||||||
|
Month, from |
||||||||
|
Day, from |
||||||||
|
Date and time separator. |
||||||||
|
Hours, from |
||||||||
|
Minutes, from |
||||||||
|
Seconds, from |
||||||||
|
Timezone offset from UTC which can be one of:
|
This method is equivalent to the Time()
method.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
timeString |
Yes |
Time string in the form |
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!