Skip to content

Main content

Circulation Renewal Extension Date Tool

Add a caller-selected calendar-day renewal interval to an existing due date, without applying closure-day policies.

Loading tool…

Description

Parse currentDueDate, add extensionDays in 0-36500 using UTC calendar days, and require output within year 9999.

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 currentDueDate, add extensionDays in 0-36500 using UTC calendar days, and require output within year 9999.

When to use this tool

Use Circulation Renewal Extension Date when you need explicit day or clock arithmetic with known inputs.

How to use the tool and how it works

  1. Enter currentDueDate, extensionDays. 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 newDueDate. Use the output convention below.

Parse currentDueDate, add extensionDays in 0-36500 using UTC calendar days, and require output within year 9999.1

Input fieldMeaning and unitsAccepted input
currentDueDateCurrent Due DateRequired. Text; maximum UTF-16 length 8192.
extensionDaysExtension DaysRequired. Safe integer; minimum 0; maximum 36500.
Output fieldInterpretationReturned shape
newDueDateNew Due DateRequired. Text; maximum UTF-16 length 8192.
json
{
  "input": {
    "currentDueDate": "2026-10-25",
    "extensionDays": 14
  },
  "output": {
    "newDueDate": "2026-11-08"
  }
}

Limitations and assumptions

  • Return is a modeled date, not permission to renew; holidays, borrower eligibility, other holds, and lending policy are not considered.
  • 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.
  • Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.

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/circulation-renewal-extension-date — tool.io

Similar or alternative tools

  • Library Hold Expiry Offset

    Parse readyDate, add integer holdDays in 0-36500 with UTC date arithmetic, and reject results beyond year 9999.

  • Tourist Pass Entry Credit

    Subtract usedEntries from purchasedEntries for remainingEntries and compare requestedEntries inclusively with that remainder.