Description
Measure signed calendar duration of a recorded residence interval.
Geographic activity records depend on location precision, boundary vintage, observation time, population denominator and access-window conventions. A travel-time budget differs from actual accessibility, and rectangular cell area does not establish privacy. Local shares and labels need the original survey and spatial definitions.
Measure signed calendar duration of a recorded residence interval.
When to use this tool
Use Migration Record Last Residence Duration when you already have residenceStartDate, residenceEndDate and need to measure signed calendar duration of a recorded residence interval.
How to use the tool and how it works
- Enter residenceStartDate, residenceEndDate. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read signedCalendarDays. Use the output convention below.
Parse real UTC dates; return residenceEndDate-residenceStartDate in days.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| residenceStartDate | Residence Start Date | Required. Text; maximum UTF-16 length 8192. Real proleptic Gregorian YYYY-MM-DD; four-digit years 0000-9999 accepted. |
| residenceEndDate | Residence 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 |
|---|---|---|
| signedCalendarDays | Signed Calendar Days | Required. Safe integer. |
{
"input": {
"residenceStartDate": "2026-10-28",
"residenceEndDate": "2026-11-01"
},
"output": {
"signedCalendarDays": 4
}
} Limitations and assumptions
- Reversed dates give a negative duration; no actual residence, migration status, legal duration or chronology 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 the actual route, service schedule, survey frame and boundary source when assessing mobility or access. Review disclosure across the full spatial dataset and linked records; a location label or cell-size product is not a complete privacy method.
References
Similar or alternative tools
- Migration Origin Destination Label
Qualify explicitly recorded migration endpoints by their classification version.
- Neighborhood Area Population Weight
Calculate a neighborhood population's share of its supplied regional population.