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
- Enter firstStartDate, firstEndDate, secondStartDate, secondEndDate. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- 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 field | Meaning and units | Accepted input |
|---|---|---|
| firstStartDate | First Start Date | Required. Text; maximum UTF-16 length 8192. Real proleptic Gregorian YYYY-MM-DD; four-digit years 0000-9999 accepted. |
| firstEndDate | First End Date | Required. Text; maximum UTF-16 length 8192. Real proleptic Gregorian YYYY-MM-DD; four-digit years 0000-9999 accepted. |
| secondStartDate | Second Start Date | Required. Text; maximum UTF-16 length 8192. Real proleptic Gregorian YYYY-MM-DD; four-digit years 0000-9999 accepted. |
| secondEndDate | Second End Date | Required. Text; maximum UTF-16 length 8192. Real proleptic Gregorian YYYY-MM-DD; four-digit years 0000-9999 accepted. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| inclusiveOverlapDays | Calendar-date overlap including both endpoints; a shared endpoint date counts one. | Required. Safe integer. |
{
"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
Similar or alternative tools
- Pedigree Birth Order Interval Pair
Compare supplied ordered birth years and birth-order indices.
- Household Visitor Resident Night Tag
Label a supplied household-night status.