new FaunaTime(value)
FaunaDB time. See the docs.
Parameters:
Name | Type | Description |
---|---|---|
value |
string | Date | If a Date, this is converted to a string. |
Extends
Members
date :Date
Returns the date wrapped by this object. This is lossy as Dates have millisecond rather than nanosecond precision.
Type:
- Date