@maschinenlesbar.org/smard-cli
    Preparing search index...

    Function periodLabel

    • How a point of resolution that starts at ms is named: by its Berlin period. An hour or quarter-hour is 2026-11-19 14:00 (Berlin time), a day or week (its Monday) the Berlin date, a month 2026-11, a year 2026. Never the UTC date: a day starts at 23:00Z the day before.

      Parameters

      • ms: number
      • resolution: "hour" | "quarterhour" | "day" | "week" | "month" | "year"

      Returns string