Description
When offsetKnown, subtract the offset; otherwise return referenceMinutes zero and referenceKnown false.
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.
When offsetKnown, subtract the offset; otherwise return referenceMinutes zero and referenceKnown false.
When to use this tool
Use Consular Notice Timezone Token when you need explicit day or clock arithmetic with known inputs.
How to use the tool and how it works
- Enter localClockMinutes, offsetMinutes, offsetKnown. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read referenceKnown, referenceMinutes. Inspect referenceKnown before interpreting the associated values.
Require signed integer localClockMinutes and offsetMinutes in [-1439, 1439]. When offsetKnown, subtract the offset; otherwise return referenceMinutes zero and referenceKnown false.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| localClockMinutes | Local Clock Minutes | Required. Safe integer. |
| offsetMinutes | Offset Minutes | Required. Safe integer; minimum -1439; maximum 1439. |
| offsetKnown | Offset Known | Required. Boolean. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| referenceKnown | Reference Known | Required. Boolean. |
| referenceMinutes | Offset-corrected minute coordinate, or zero placeholder when referenceKnown is false. | Required. Safe integer. |
{
"input": {
"localClockMinutes": 600,
"offsetMinutes": 120,
"offsetKnown": true
},
"output": {
"referenceKnown": true,
"referenceMinutes": 480
}
} Limitations and assumptions
- The unknown-offset zero is a placeholder; no timezone database, date wrap, or daylight-saving rule is applied.
- 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
- Currency Settlement Window Gap
Subtract suppliedClockOffset from settledTime and compare that adjusted coordinate inclusively with earliestAllowed and latestAllowed.
- Public Calendar Day Start Offset
Subtract suppliedDayStart from recordedTime, divide by positive suppliedDayLength with floor for dayIndex, and return a nonnegative withinDay remainder.