← All tool references

Date & Time · not_available

ISO 8601 Timestamp Converter

Convert a local date and time with an explicit UTC offset into normalized ISO 8601 and Unix timestamp forms.

Open public tool

Overview

Category
Date & Time
API mode
not_available
Processing
client-side
Privacy
no-data-stored

Public descriptor

The descriptor is available without an API key and supplies this tool’s metadata, schemas, modes, and examples.

GET /api/v1/tools/iso-8601-timestamp-converter

View this descriptor as JSON

Execute availability

This tool is documented as a browser capability. Its execute route does not produce a server-side result; when execution is enabled, it responds with browser_interaction_required and points callers to the public tool page.

POST /api/v1/tools/iso-8601-timestamp-converter/execute

Authentication is not issued during the preview. A bearer API key is planned for execution after launch.

Input schema

object object; additional properties are not accepted.

local_datetime · string · required
Choose the local date and time used by the timer.
utc_offset · string · required
Enter an offset in ±HH:MM format, such as -05:00 or +02:00.
{
    "type": "object",
    "properties": {
        "local_datetime": {
            "type": "string",
            "description": "Choose the local date and time used by the timer."
        },
        "utc_offset": {
            "type": "string",
            "description": "Enter an offset in ±HH:MM format, such as -05:00 or +02:00."
        }
    },
    "required": [
        "local_datetime",
        "utc_offset"
    ],
    "additionalProperties": false
}

Output schema

On a successful execution, schema values appear in data.result.values.

iso_utc · string
ISO 8601 UTC timestamp produced by the calculation.
iso_with_offset · string
ISO timestamp with offset produced by the calculation.
unix_seconds · number
Unix timestamp in seconds produced by the calculation.
unix_milliseconds · number
Unix timestamp in milliseconds produced by the calculation.
utc_display · string
UTC date and time produced by the calculation.
{
    "type": "object",
    "properties": {
        "iso_utc": {
            "type": "string",
            "description": "ISO 8601 UTC timestamp produced by the calculation."
        },
        "iso_with_offset": {
            "type": "string",
            "description": "ISO timestamp with offset produced by the calculation."
        },
        "unix_seconds": {
            "type": "number",
            "description": "Unix timestamp in seconds produced by the calculation."
        },
        "unix_milliseconds": {
            "type": "number",
            "description": "Unix timestamp in milliseconds produced by the calculation."
        },
        "utc_display": {
            "type": "string",
            "description": "UTC date and time produced by the calculation."
        }
    },
    "additionalProperties": false
}

ISO 8601 Timestamp Converter example

The request body follows the published input schema. The response below shows the success-envelope shape returned after execution is available.

curl -X POST "https://utilitypages.org/api/v1/tools/iso-8601-timestamp-converter/execute" \
  -H "Content-Type: application/json" \
  -d '{
    "local_datetime": "2026-07-13T12:00",
    "utc_offset": "-05:00"
}'
{
    "ok": true,
    "data": {
        "slug": "iso-8601-timestamp-converter",
        "result": {
            "values": {
                "iso_utc": "2026-07-13T17:00:00.000Z",
                "iso_with_offset": "2026-07-13T12:00:00-05:00",
                "unix_seconds": 1783962000,
                "unix_milliseconds": 1783962000000,
                "utc_display": "Mon, 13 Jul 2026 17:00:00 GMT"
            },
            "display": {
                "display": "2026-07-13T17:00:00.000Z"
            },
            "warnings": [],
            "assumptions": [],
            "steps": []
        }
    },
    "meta": [],
    "request_id": "req_example_123"
}

Errors

api_not_launched · 503
Returned by the current launch gate for every execute request.
invalid_json · 400
Returned when an enabled execute request does not contain valid JSON.
validation_failed · 422
Returned when a request does not satisfy the input schema.
browser_interaction_required · 422
Returned for browser capability tools instead of inventing a server-side result.
tool_not_found · 404
Returned when a requested descriptor slug does not exist.
execution_failed · 503
Returned when an enabled server-side execution cannot complete.