Skip to content

Main content

Intergenerational Cohabitation Duration Tool

Calculate signed date-only calendar days between supplied intergenerational cohabitation endpoints without inclusive person-day adjustments.

Loading tool…

Description

Measure signed calendar duration between intergenerational cohabitation dates.

Aging research distinguishes participant and informant identities, calendar-month coordinates, time-use exposure and event/censoring status. Proxy responses and missing codes carry different meanings from direct observations. Local record summaries do not establish lifespan, legal status, accessibility or appropriate care.

Measure signed calendar duration between intergenerational cohabitation dates.

When to use this tool

Use Intergenerational Cohabitation Duration when checking the stated aging-study record, timing, censoring or support convention.

How to use the tool and how it works

  1. Enter cohabitationStartDate, cohabitationEndDate. 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 signedCalendarDays. Use the output convention below.

Parse real cohabitation-start/end YYYY-MM-DD dates at UTC midnight. Return end-start in calendar days without requiring the end to follow the start.1

Input fieldMeaning and unitsAccepted input
cohabitationStartDateCohabitation Start DateRequired. Text; maximum UTF-16 length 8192. Real proleptic Gregorian YYYY-MM-DD; four-digit years 0000-9999 accepted.
cohabitationEndDateCohabitation End DateRequired. Text; maximum UTF-16 length 8192. Real proleptic Gregorian YYYY-MM-DD; four-digit years 0000-9999 accepted.
Output fieldInterpretationReturned shape
signedCalendarDaysSigned Calendar DaysRequired. Safe integer.
json
{
  "input": {
    "cohabitationStartDate": "2026-10-28",
    "cohabitationEndDate": "2026-11-01"
  },
  "output": {
    "signedCalendarDays": 4
  }
}

Limitations and assumptions

  • Negative durations are retained; no household relationship, continuous occupancy or historical source validity 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

Use verified original records and suitable complete research methods; involve qualified health, accessibility or legal professionals for actual care or rights decisions.

References

  1. Calculation and input contract: gerontology/intergenerational-cohabitation-duration — tool.io

Similar or alternative tools