Skip to content

Main content

Mood Diary Time Anchor

Express an explicit mood-diary timestamp relative to a supplied anchor without inferring mood cycles.

Loading tool…

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

  1. Enter entrySeconds, anchorSeconds. 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 relativeSeconds. Use the output convention below.

Return entrySeconds-anchorSeconds as relativeSeconds.1

Input fieldMeaning and unitsAccepted input
entrySecondsEntry SecondsRequired. Finite number.
anchorSecondsAnchor SecondsRequired. Finite number.
Output fieldInterpretationReturned shape
relativeSecondsRelative SecondsRequired. Finite number.
json
{
  "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

  1. Calculation and input contract: psychiatry/mood-diary-time-anchor — tool.io

Similar or alternative tools