Description
Parse readyDate, add integer holdDays in 0-36500 with UTC date arithmetic, and reject results beyond 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 readyDate, add integer holdDays in 0-36500 with UTC date arithmetic, and reject results beyond year 9999.
When to use this tool
Use Library Hold Expiry Offset when you need explicit day or clock arithmetic with known inputs.
How to use the tool and how it works
- Enter readyDate, holdDays. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read expiryDate. Use the output convention below.
Parse readyDate, add integer holdDays in 0-36500 with UTC date arithmetic, and reject results beyond year 9999. Return expiryDate.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| readyDate | Ready Date | Required. Text; maximum UTF-16 length 8192. |
| holdDays | Hold Days | Required. Safe integer; minimum 0; maximum 36500. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| expiryDate | Supplied expiry date; boundary inclusion follows the comparison above. | Required. Text; maximum UTF-16 length 8192. |
{
"input": {
"readyDate": "2026-10-28",
"holdDays": 7
},
"output": {
"expiryDate": "2026-11-04"
}
} Limitations and assumptions
- This is a supplied calendar-day offset without closure-day exclusions, time-of-day, or a library's actual hold-expiry policy.
- 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
- Circulation Renewal Extension Date
Parse currentDueDate, add extensionDays in 0-36500 using UTC calendar days, and require output within year 9999.
- Housing Assistance Document Expiry
Parse real Gregorian expiryDate and appointmentDate.