> ## Documentation Index
> Fetch the complete documentation index at: https://docs.threetone.in/llms.txt
> Use this file to discover all available pages before exploring further.

# Resolve a local wall time

> Rejects daylight-saving gaps. For a repeated wall time, resolve once with `earlier` and once with `later` to inspect both possible instants.



## OpenAPI

````yaml /api-reference/openapi.json post /v1/time-zones/resolve-local
openapi: 3.1.0
info:
  title: Threetone API Documentation
  description: >-
    This is the documentation for the Threetone API. You can use this API to use
    our service programmatically with API keys sent in the x-api-key header. You
    can create and manage API keys in the dashboard at
    https://threetone.in/app/developers/api-keys.
  version: '1.0'
servers:
  - url: https://api.threetone.in
    description: Production
security: []
paths:
  /v1/time-zones/resolve-local:
    post:
      tags:
        - Time Zones
      summary: Resolve a local wall time
      description: >-
        Rejects daylight-saving gaps. For a repeated wall time, resolve once
        with `earlier` and once with `later` to inspect both possible instants.
      operationId: resolve_local_time_zone
      parameters:
        - name: x-api-key
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              Your API key for programmatic access. Send it in the x-api-key
              header; you can create and manage keys from the Developers page.
            title: X-Api-Key
          description: >-
            Your API key for programmatic access. Send it in the x-api-key
            header; you can create and manage keys from the Developers page.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ResolveLocalTimeRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResolveLocalTimeResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ResolveLocalTimeRequest:
      properties:
        local_date:
          type: string
          format: date
          title: Local Date
        local_time:
          type: string
          format: time
          title: Local Time
        time_zone:
          type: string
          title: Time Zone
          description: IANA timezone identifier used to interpret the local date and time.
        disambiguation:
          anyOf:
            - type: string
              enum:
                - earlier
                - later
            - type: 'null'
          title: Disambiguation
          description: >-
            Required when the local time occurs twice during a UTC-offset
            transition. Choose the earlier or later resulting instant.
        require_future:
          type: boolean
          title: Require Future
          description: >-
            Reject the resolved instant unless it is later than the API server's
            current UTC time. Durable scheduling boundaries must still recheck
            against the database clock.
          default: false
      type: object
      required:
        - local_date
        - local_time
        - time_zone
      title: ResolveLocalTimeRequest
    ResolveLocalTimeResponse:
      properties:
        local_date:
          type: string
          format: date
          title: Local Date
        local_time:
          type: string
          format: time
          title: Local Time
        time_zone:
          type: string
          title: Time Zone
        canonical_name:
          type: string
          title: Canonical Name
        disambiguation:
          anyOf:
            - type: string
              enum:
                - earlier
                - later
            - type: 'null'
          title: Disambiguation
        is_ambiguous:
          type: boolean
          title: Is Ambiguous
        utc_offset_seconds:
          type: integer
          title: Utc Offset Seconds
        scheduled_at:
          type: string
          format: date-time
          title: Scheduled At
        scheduled_time_unix:
          type: integer
          title: Scheduled Time Unix
      type: object
      required:
        - local_date
        - local_time
        - time_zone
        - canonical_name
        - disambiguation
        - is_ambiguous
        - utc_offset_seconds
        - scheduled_at
        - scheduled_time_unix
      title: ResolveLocalTimeResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````