Time Label
Times smaller than a day
I'll meet you in the coffee shop at TIME
12:00
{
"date_time": "2012-08-17T12:00",
"timezone": "US/Eastern",
"precision": "TIME"
}
noon
{
"date_time": "2012-08-17T12:00",
"timezone": "US/Eastern",
"precision": "TIME"
}
Example Input
I'll meet you in the coffee shop at noon.
Example Output
{
"type":"number",
"skill":"numbers",
"name":"TIME",
"value":"12:00",
"data":{
"date_time":"2022-08-24T12:00",
"timezone":null
},
"span_text":"noon",
"span":[
36,
40
],
"output_spans":[
{
"section":0,
"start":36,
"end":40
}
]
}
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