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
- Enter currentDueDate, extensionDays. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- 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 field | Meaning and units | Accepted input |
|---|---|---|
| currentDueDate | Current Due Date | Required. Text; maximum UTF-16 length 8192. |
| extensionDays | Extension Days | Required. Safe integer; minimum 0; maximum 36500. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| newDueDate | New Due Date | Required. Text; maximum UTF-16 length 8192. |
{
"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
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.