Description
Measure a mood-diary timestamp relative to a supplied time anchor.
Mental-health records preserve instrument versions, recall wording, reporter roles, unknown responses and a person's own priorities. A missing code differs from a symptom rating, and a normalized preference is a scale position rather than a clinical urgency score. Recording these values does not assess mental state, diagnose a condition or choose care.
Measure a mood-diary timestamp relative to a supplied time anchor.
When to use this tool
Use Mood Diary Time Anchor when you already have entrySeconds, anchorSeconds and need to measure a mood-diary timestamp relative to a supplied time anchor.
How to use the tool and how it works
- Enter entrySeconds, anchorSeconds. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read relativeSeconds. Use the output convention below.
Return entrySeconds-anchorSeconds as relativeSeconds.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| entrySeconds | Entry Seconds | Required. Finite number. |
| anchorSeconds | Anchor Seconds | Required. Finite number. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| relativeSeconds | Relative Seconds | Required. Finite number. |
{
"input": {
"entrySeconds": 5400,
"anchorSeconds": 3600
},
"output": {
"relativeSeconds": 1800
}
} Limitations and assumptions
- The common epoch is supplied; no timezone conversion, circadian model or clinical interpretation is performed.
- 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
Consult the original instrument, language/version and reporter context for any substantive assessment. Preserve missing responses and user-selected goals explicitly; use the instrument's complete scoring process rather than treating one label or normalized preference as a clinical score.
References
Similar or alternative tools
- Exercise Stage Relative Time
Measure an event's signed time from an exercise-stage start.
- Drug Study Index Date Offset
Measure signed days from a drug study's supplied index date.