Datetime MCP Server

format-date

Convert and format a date string into a custom layout using a specified format. Ideal for transforming dates into desired structures like '%Y-%m-%d %H:%M:%S' or other patterns.

Instructions

Format a date string according to the specified format

Input Schema

NameRequiredDescriptionDefault
dateNoDate string to format (default: today)
formatYesFormat string (e.g., '%Y-%m-%d %H:%M:%S')

Input Schema (JSON Schema)

{ "properties": { "date": { "description": "Date string to format (default: today)", "type": "string" }, "format": { "description": "Format string (e.g., '%Y-%m-%d %H:%M:%S')", "type": "string" } }, "required": [ "format" ], "type": "object" }

You must be authenticated.

Other Tools from Datetime MCP Server

Related Tools

ID: fd8f58oegw