Skip to content
HALOWERK

Live World Data

shift seconds by civil date

Shift allocation splits elapsed seconds at each local date boundary in an IANA zone. Use it when an agent needs reconciling payroll durations across midnight and DST.

POST https://welt.halowerk.com/v1/shift-seconds-by-civil-date

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
zonestringYes
startstringYes
endstringYes
Show full input schema
{
  "type": "object",
  "properties": {
    "zone": {
      "type": "string",
      "maxLength": 85,
      "minLength": 1
    },
    "start": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1
    },
    "end": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1
    }
  },
  "required": [
    "zone",
    "start",
    "end"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "zone": "Europe/Berlin",
  "start": "2025-03-29T22:00:00Z",
  "end": "2025-03-30T22:20:00Z"
}

Result & documentation

Show published result schema
{
  "type": "object",
  "required": [
    "measured_at",
    "source",
    "data",
    "limitations"
  ],
  "properties": {
    "measured_at": {
      "type": "string"
    },
    "source": {
      "type": "object",
      "required": [
        "reference",
        "retrieved_at"
      ],
      "properties": {
        "reference": {
          "type": "string"
        },
        "retrieved_at": {
          "type": "string"
        }
      }
    },
    "data": {
      "type": "object",
      "properties": {
        "days": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "date": {
                "type": "string"
              },
              "seconds": {
                "type": "integer"
              }
            },
            "required": [
              "date",
              "seconds"
            ]
          }
        }
      },
      "required": [
        "days"
      ]
    },
    "limitations": {
      "type": "string"
    }
  }
}

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub โ†’