← All tool references

Productivity · execute

Today's Date

Show today’s date, weekday, live local clock, UTC offset, and monthly calendar for a selected time zone.

Open public tool

Overview

Category
Productivity
API mode
execute
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/todays-date

View this descriptor as JSON

Execute availability

This tool has an execute route defined by its descriptor. Server-side execution is currently unavailable, so requests return api_not_launched.

POST /api/v1/tools/todays-date/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.

timezone · string · optional
IANA time-zone identifier.
format · string · required
Requested date format. Accepted values: iso, long, us.
{
    "type": "object",
    "properties": {
        "timezone": {
            "type": "string",
            "description": "IANA time-zone identifier."
        },
        "format": {
            "type": "string",
            "enum": [
                "iso",
                "long",
                "us"
            ],
            "description": "Requested date format."
        }
    },
    "required": [
        "format"
    ],
    "additionalProperties": false
}

Output schema

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

date · string
Formatted local date.
iso_date · string
Local YYYY-MM-DD date.
weekday · string
Local weekday.
timezone · string
Applied IANA zone.
utc_offset · string
Current UTC offset.
format · string
Applied format.
{
    "type": "object",
    "properties": {
        "date": {
            "type": "string",
            "description": "Formatted local date."
        },
        "iso_date": {
            "type": "string",
            "description": "Local YYYY-MM-DD date."
        },
        "weekday": {
            "type": "string",
            "description": "Local weekday."
        },
        "timezone": {
            "type": "string",
            "description": "Applied IANA zone."
        },
        "utc_offset": {
            "type": "string",
            "description": "Current UTC offset."
        },
        "format": {
            "type": "string",
            "description": "Applied format."
        }
    },
    "additionalProperties": false
}

Long date in Chicago

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/todays-date/execute" \
  -H "Content-Type: application/json" \
  -d '{
    "timezone": "America/Chicago",
    "format": "long"
}'
{
    "ok": true,
    "data": {
        "slug": "todays-date",
        "result": {
            "values": {
                "date": "July 12, 2026",
                "iso_date": "2026-07-12",
                "weekday": "Sunday",
                "timezone": "America/Chicago",
                "utc_offset": "-05:00",
                "format": "long"
            },
            "display": {
                "display": "July 12, 2026"
            },
            "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.