Skip to content

Main content

Case Stage Time Delta

Measure a recorded case-stage interval and subtract an already deduplicated pause duration.

Loading tool…

Description

Calculate supplied case-stage elapsed and active seconds.

Administrative records distinguish delegated authority, sign-off assertions, conditional fields, counter-minutes and date boundaries. A half-open delegation period excludes its final date, and staffed-counter time can sum simultaneous counters. Local flags and fees do not authenticate an approval or establish lawful authority or adequate service.

Calculate supplied case-stage elapsed and active seconds.

When to use this tool

Use Case Stage Time Delta when you already have stageEntryTimestampSeconds, stageExitTimestampSeconds, pausedSeconds and need to calculate supplied case-stage elapsed and active seconds.

How to use the tool and how it works

  1. Enter stageEntryTimestampSeconds, stageExitTimestampSeconds, pausedSeconds. 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 elapsedSeconds, activeSeconds. Use the output convention below.

Require exit>=entry and pausedSeconds in [0,exit-entry]; return elapsed=exit-entry and active=elapsed-paused.1

Input fieldMeaning and unitsAccepted input
stageEntryTimestampSecondsStage Entry Timestamp SecondsRequired. Finite number.
stageExitTimestampSecondsStage Exit Timestamp SecondsRequired. Finite number.
pausedSecondsPaused SecondsRequired. Finite number; minimum 0.
Output fieldInterpretationReturned shape
elapsedSecondsElapsed SecondsRequired. Finite number.
activeSecondsElapsed stage seconds minus supplied pauses; pauses must be within elapsed duration.Required. Finite number.
json
{
  "input": {
    "stageEntryTimestampSeconds": 1000,
    "stageExitTimestampSeconds": 1600,
    "pausedSeconds": 120
  },
  "output": {
    "elapsedSeconds": 600,
    "activeSeconds": 480
  }
}

Limitations and assumptions

  • Pause is supplied rather than inferred or deduplicated. No case events, actual work, service standard or lawful timing is verified.
  • 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

Check controlled policies, original case records, verified roles and account definitions. Apply complete administrative and legal processes when local routing delays, document counts or supplied approval comparisons cannot determine a valid action.

References

  1. Calculation and input contract: administrative-science/case-stage-time-delta — tool.io

Similar or alternative tools