Time Tools MCP Server

MIT License
  • Apple

getDurationDateTime

Calculate the duration between two timestamps in seconds, minutes, or hours. Specify start and end times, and choose the unit for precise time difference results.

Instructions

Get the difference time between two datetimes (e.g. 2025-01-01 01:01:01 and 2025-01-02 02:02:02)

Input Schema

NameRequiredDescriptionDefault
fromYes
toYes
unitNosecond

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "from": { "type": "string" }, "to": { "type": "string" }, "unit": { "default": "second", "enum": [ "second", "minute", "hour" ], "type": "string" } }, "required": [ "from", "to" ], "type": "object" }

You must be authenticated.

Other Tools from Time Tools MCP Server

Related Tools

ID: vx47cgonu8