Skip to content

Main content

Household Multi Residence Overlap Days

Count inclusive overlap of two explicitly recorded residence-date intervals without determining residence status.

Loading tool…

Description

Count inclusive overlap days of two supplied residence periods.

Anthropological records preserve reported residence, exchange, use periods, prompt positions and source-qualified terms. Inclusive residence periods count a shared endpoint date, while display-coordinate rounding can still leave a location identifiable. Supplied labels require cultural, historical and consent context.

Count inclusive overlap days of two supplied residence periods.

When to use this tool

Use Household Multi Residence Overlap Days when you already have firstStartDate, firstEndDate, secondStartDate, secondEndDate and need to count inclusive overlap days of two supplied residence periods.

How to use the tool and how it works

  1. Enter firstStartDate, firstEndDate, secondStartDate, secondEndDate. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read inclusiveOverlapDays. Use the output convention below.

Parse real UTC date endpoints, require each end>=start, then return max(0,(min(ends)-max(starts))/86400000+1).1

Input fieldMeaning and unitsAccepted input
firstStartDateFirst Start DateRequired. Text; maximum UTF-16 length 8192. Real proleptic Gregorian YYYY-MM-DD; four-digit years 0000-9999 accepted.
firstEndDateFirst End DateRequired. Text; maximum UTF-16 length 8192. Real proleptic Gregorian YYYY-MM-DD; four-digit years 0000-9999 accepted.
secondStartDateSecond Start DateRequired. Text; maximum UTF-16 length 8192. Real proleptic Gregorian YYYY-MM-DD; four-digit years 0000-9999 accepted.
secondEndDateSecond End DateRequired. Text; maximum UTF-16 length 8192. Real proleptic Gregorian YYYY-MM-DD; four-digit years 0000-9999 accepted.
Output fieldInterpretationReturned shape
inclusiveOverlapDaysCalendar-date overlap including both endpoints; a shared endpoint date counts one.Required. Safe integer.
json
{
  "input": {
    "firstStartDate": "2026-10-28",
    "firstEndDate": "2026-11-05",
    "secondStartDate": "2026-11-01",
    "secondEndDate": "2026-11-10"
  },
  "output": {
    "inclusiveOverlapDays": 5
  }
}

Limitations and assumptions

  • A shared endpoint date counts one day. No actual residence, exclusive membership, rights, precise timestamp overlap or lawful disclosure is verified.
  • Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.

Alternative or Complementary methods

Consult original field records and community-provided meanings with the stated research method. Evaluate permissions and protection of underlying records; local balances, locators and masks do not establish cultural interpretation, authority or anonymity.

References

  1. Calculation and input contract: anthropology/household-multi-residence-overlap-days — tool.io

Similar or alternative tools