Skip to content

Main content

African Archive Dual Date Token Tool

Preserve dual-date source labels without inventing a calendar conversion.

Loading tool…

Description

Compare them literally and JSON-encode [firstCalendar,firstDate,secondCalendar,secondDate] as key.

Historical and regional records connect source vintages, era coordinates, folio sides, time coverage and locally defined units. Literal tokens and supplied offsets can organize metadata without authenticating an archive or establishing historical calendar equivalence. Preserve the original source and its conventions.

Compare them literally and JSON-encode [firstCalendar,firstDate,secondCalendar,secondDate] as key.

When to use this tool

Use African Archive Dual Date Token when checking the stated regional archival, chronology, coverage or unit convention.

How to use the tool and how it works

  1. Enter firstDate, secondDate, firstCalendar, secondCalendar. 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 sameCalendar, key. Inspect sameCalendar before interpreting the associated values.

Require nonempty calendar labels. Compare them literally and JSON-encode [firstCalendar,firstDate,secondCalendar,secondDate] as key.1

Input fieldMeaning and unitsAccepted input
firstDateFirst DateRequired. Text; maximum UTF-16 length 8192.
secondDateSecond DateRequired. Text; maximum UTF-16 length 8192.
firstCalendarFirst CalendarRequired. Text; maximum UTF-16 length 8192.
secondCalendarSecond CalendarRequired. Text; maximum UTF-16 length 8192.
Output fieldInterpretationReturned shape
sameCalendarSame CalendarRequired. Boolean.
keyKeyRequired. Text; maximum UTF-16 length 8192.
json
{
  "input": {
    "firstDate": "1900",
    "secondDate": "1317",
    "firstCalendar": "Gregorian",
    "secondCalendar": "Hijri"
  },
  "output": {
    "sameCalendar": false,
    "key": "[\"Gregorian\",\"1900\",\"Hijri\",\"1317\"]"
  }
}

Limitations and assumptions

  • Date strings are preserved without parsing or conversion; matching labels do not prove two dates refer to the same day.
  • 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 the original archive and appropriate historical/calendar/unit authorities for provenance and substantive interpretation.

References

  1. Calculation and input contract: african-studies/african-archive-dual-date-token — tool.io

Similar or alternative tools