Skip to main content
Glama

datetime_diff

Calculate time intervals between two dates or timestamps to measure duration, schedule events, or track elapsed time.

Instructions

[datetime] Compute the absolute difference between two datetime strings.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
aYes
bYes
unitNo
Install Server

Other Tools

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/0-co/agent-friend'

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