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!