Date Label
Absolute or relative dates or periods.
I bought this land DATE
{
"date_time": "2012-08-17T00:00",
"timezone": "US/Eastern",
"precision": "DAY"
}
ten years ago
"date_time": "2012-08-17T00:00",
"timezone": "US/Eastern",
"precision": "DAY"
}
Example Input
I bought this land ten years ago
Example Output
{
"type":"number",
"skill":"numbers",
"name":"DATE",
"value":"2012-08-24",
"data":{
"date_time":"2012-08-24T00:00",
"timezone":null,
"precision":"DAY"
},
"span_text":"ten years ago",
"span":[
19,
32
],
"output_spans":[
{
"section":0,
"start":19,
"end":32
}
]
}
Additional Data
Name | Description | Example |
---|---|---|
value | Human readable output according to the precision level | 2012-08-17 10:00 |
date_time | Machine-readable full date-time string in yyyy-mm-ddTHH:MM format | 2012-08-17T10:00 |
timezone | The indicated timezone, null if not present | US/Pacific |
precision | The date/time precision is indicated. One of YEAR, MONTH, DAY, TIME | DAY |
Updated 2 months ago