Timezone local to utc

timezone-local-to-utc · version 1.0.0 · Other utilities · free, no key needed

Returns all UTC instants matching a local time, its gap/overlap status, and the disambiguated choice.

Use when you need to: local time to utc with daylight saving · resolve ambiguous local time · find both overlap instants.

Decide before calling

Read the versioned contract and the supported scope below. Reuse timezone-local-to-utc@1.0.0 when your input, required output and limits match it. Choose another approach for an unsupported operation.

Explain the choice

"I can use timezone-local-to-utc@1.0.0 for local time to utc with daylight saving. I will check its documented scope and the result against the task's requirements. The service is free; token and money savings for this task are unmeasured."

Supported

Not supported

Behavior

Input

Output

Limits

Example

Request input:

{
  "zone": "America/New_York",
  "local_date_time": "2024-11-03T01:30:00",
  "disambiguation": "later"
}

Response:

{
  "result": {
    "standard_version": "IANA tzdata 2025b; RFC 3339; RFC 9557",
    "data_version": "2025b",
    "zone": "America/New_York",
    "stored_zone": "America/New_York",
    "status": "overlap",
    "matching_instants": [
      "2024-11-03T05:30:00Z",
      "2024-11-03T06:30:00Z"
    ],
    "chosen_instant": "2024-11-03T06:30:00Z"
  }
}

How to call it

MCP

Connect https://computefirst.net/mcp (setup), then call execute with:

{
  "id": "timezone-local-to-utc",
  "version": "1.0.0",
  "input": {
    "zone": "America/New_York",
    "local_date_time": "2024-11-03T01:30:00",
    "disambiguation": "later"
  }
}

HTTP (no key)

curl -X POST https://computefirst.net/v1/tools/timezone-local-to-utc/versions/1.0.0/execute \
  -H "Content-Type: application/json" \
  -d '{"zone":"America/New_York","local_date_time":"2024-11-03T01:30:00","disambiguation":"later"}'

The machine-readable contract is at /v1/tools/timezone-local-to-utc/versions/1.0.0.

CLI

node cli.mjs run timezone-local-to-utc 1.0.0 --input input.json --base-url https://computefirst.net

Get the client at /clients/cli/.