Merge pull request #161 from influxdata/update/timestamp-format
Date and timestamp formats in Fluxpull/172/head
commit
62a3003a40
|
@ -43,6 +43,11 @@ Absolute stop times are defined using timestamps.
|
|||
|
||||
_**Data type:** Duration or Timestamp_
|
||||
|
||||
{{% note %}}
|
||||
Flux only honors [RFC3339 timestamps](/v2.0/reference/flux/language/types#timestamp-format)
|
||||
and ignores dates and times provided in other formats.
|
||||
{{% /note %}}
|
||||
|
||||
## Examples
|
||||
|
||||
###### Time range relative to now
|
||||
|
|
|
@ -44,6 +44,13 @@ float the set of all IEEE-754 64-bit floating-point numbers
|
|||
A _time type_ represents a single point in time with nanosecond precision.
|
||||
The time type name is `time`.
|
||||
|
||||
### Timestamp format
|
||||
Flux supports [RFC3339](https://tools.ietf.org/html/rfc3339#section-5.6) timestamps:
|
||||
|
||||
- `YYYY-MM-DD`
|
||||
- `YYYY-MM-DDT00:00:00Z`
|
||||
- `YYYY-MM-DDT00:00:00.000Z`
|
||||
|
||||
## Duration types
|
||||
|
||||
A _duration type_ represents a length of time with nanosecond precision.
|
||||
|
|
Loading…
Reference in New Issue