Skip to content

Main content

Animal Collar Service Record Date Gap Tool

Measure signed calendar days since a supplied animal-collar service record without selecting service intervals or animal-use procedures.

Loading tool…

Description

Measure signed calendar days since an animal collar's recorded service date.

Zoological records separate specimen identity, preparation, anatomical side, behavioral codes and the sources assigning those labels. A specimen name or status is a claim with provenance, while an observation share depends on a stated denominator. Preserving these conventions helps compare records without treating a transcription or visibility count as taxonomic identification or an animal-health assessment.

Measure signed calendar days since an animal collar's recorded service date.

When to use this tool

Use Animal Collar Service Record Date Gap when you already have serviceDate, asOfDate and need to measure signed calendar days since an animal collar's recorded service date.

How to use the tool and how it works

  1. Enter serviceDate, asOfDate. 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 four-digit YYYY-MM-DD dates at UTC midnight; return (asOf-service)/86400000.1

Input fieldMeaning and unitsAccepted input
serviceDateService DateRequired. Text; maximum UTF-16 length 8192. Real proleptic Gregorian YYYY-MM-DD; four-digit years 0000-9999 accepted.
asOfDateAs Of 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": {
    "serviceDate": "2026-10-28",
    "asOfDate": "2026-11-01"
  },
  "output": {
    "signedCalendarDays": 4
  }
}

Limitations and assumptions

  • A future service date gives a negative gap; no collar condition, service schedule or welfare suitability is checked.
  • 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

For identity or type status, inspect the original specimen record and cited nomenclatural authority. For behavior or visibility, review the actual observation series and its codebook; this helper preserves one stated label or counting convention.

References

  1. Calculation and input contract: zoology/animal-collar-service-record-date-gap — tool.io

Similar or alternative tools