An absolute time span.
Field | Type | Purpose |
---|---|---|
type
required
|
"absolute"
|
Type of the absolute date range. |
start
required
|
<number>
|
Starting timestamp in milliseconds from the unix epoch. |
end
required
|
<number>
|
Ending timestamp in milliseconds from the unix epoch. |
Relative date ranges range from the current time, to a specific point in the past.
This object tells the distance to the point in the past.
Field | Type | Purpose |
---|---|---|
type
required
|
"relative"
|
Type of the relative date range. |
unit
|
<string>
|
Unit to use for
|
value
|
<number>
|
How many unit timespans back in time this date starts.
|