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

NameDescriptionExample
daysDays component of the duration, expressed in fractional days value2.5
days_in_secondsDuration expressed in whole seconds (e.g 3600 = 1 hour)216000
monthsMonths component of the duration1
yearsYears component of the duration0