CodableAIA Stacksona Company

Math Date Diff

Computes days, weeks, months, years, and business days between two ISO dates.

Run tool

Form input

Output JSON


          

Work steps

    Inputs

    NameTypeRequiredDescription
    start_datetextYesStart date
    end_datetextYesEnd date

    Outputs

    NameTypeDescription
    daysintegerDays
    weeksnumberWeeks
    months_approxnumberMonths approx
    years_approxnumberYears approx
    business_daysintegerBusiness days
    workarrayWork

    Sample request

    {
      "start_date": "2026-01-01",
      "end_date": "2026-03-01"
    }