Skip to main content
Glama
cfdude

mcp-datetimeday

relative_time

Calculate relative time descriptions like '3 days ago' or 'in 2 weeks' between two dates. Input target and reference dates to get human-readable time differences.

Instructions

Get relative time description between two dates.

Args: date_str: Target date in YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS format. reference: Reference date (same formats). Defaults to now.

Returns: Relative time description (e.g., "3 days ago", "in 2 weeks").

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
date_strYes
referenceNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Tool Definition Quality

Score is being calculated. Check back soon.

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/cfdude/mcp-datetimeday'

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