Skip to content

Main content

Lending Renewal Due Date Gap Tool

Compare supplied civil due dates without selecting lending or renewal eligibility policy.

Loading tool…

Description

Parse strict real YYYY-MM-DD dates at UTC midnight.

Calendar-day differences need real dates and a stated time basis. Fixed clock offsets, supplied working-day lists, and Gregorian date arithmetic answer different questions.

Parse strict real YYYY-MM-DD dates at UTC midnight.

When to use this tool

Use Lending Renewal Due Date Gap when you need explicit day or clock arithmetic with known inputs.

How to use the tool and how it works

  1. Enter oldDue, newDue, renewalDate. 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 extensionDays, renewedRemainingDays. Use the output convention below.

Parse strict real YYYY-MM-DD dates at UTC midnight. Return newDue minus oldDue and newDue minus renewalDate in days.1

Input fieldMeaning and unitsAccepted input
oldDueOld DueRequired. Text; maximum UTF-16 length 8192.
newDueNew DueRequired. Text; maximum UTF-16 length 8192.
renewalDateRenewal DateRequired. Text; maximum UTF-16 length 8192.
Output fieldInterpretationReturned shape
extensionDaysExtension DaysRequired. Safe integer.
renewedRemainingDaysRenewed Remaining DaysRequired. Safe integer.
json
{
  "input": {
    "oldDue": "2026-10-26",
    "newDue": "2026-11-09",
    "renewalDate": "2026-10-25"
  },
  "output": {
    "extensionDays": 14,
    "renewedRemainingDays": 15
  }
}

Limitations and assumptions

  • Signed gaps are allowed; time-of-day, local timezone, holidays, and borrowing rules are not modeled.
  • 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 an authoritative calendar and timezone source when holidays, local dates, or civil-time transitions matter.

References

  1. Calculation and input contract: library-science/lending-renewal-due-date-gap — tool.io

Similar or alternative tools