Duration Label

Periods of time

it's going to take DURATION
{
"days": 2,
"days_in_seconds": 172800,
"months": 0
"years": 0
}
two days to complete.
 
 
 

Example Input

it's going to take two days to complete.    

Example Output

{
   "type":"number",
   "skill":"numbers",
   "name":"DURATION",
   "value":"2 Days",
   "data":{
      "days":2,
      "days_in_seconds":172800,
      "months":0,
      "years":0
   },
   "span_text":"two days",
   "span":[
      19,
      27
   ],
   "output_spans":[
      {
         "section":0,
         "start":19,
         "end":27
      }
   ]
}

Additional Data

Name

Description

Example

days

days component of the duration, expressed in fractional days value

2.5

days_in_seconds

duration expressed in whole seconds (e.g 3600 = 1 hour)

216000

months

months component of the duration

1

years

years component of the duration

0


Did this page help you?