Skip to main content
Glama
VikasPrajapati1998

DateTime-LocalMCPServer

timezone_datetime

Get the current date and time for any specified timezone in ISO 8601 format. Convert timezone names to accurate local datetime values.

Instructions

Return the current date and time for a specified timezone.

Parameters

timezone : str, optional IANA timezone name (e.g., "UTC", "Asia/Kolkata"). Defaults to "UTC".

Returns

Dict[str, Any] A dictionary containing: - status : str Indicates successful execution or error. - timezone : str Requested timezone. - datetime : str Current datetime in ISO 8601 format for the given timezone.

If an invalid timezone is provided, an error response is returned.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
timezoneNoUTC

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/VikasPrajapati1998/DateTime-LocalMCPServer'

If you have feedback or need assistance with the MCP directory API, please join our Discord server