from_timestamp
Pack: timestamp · Endpoint: https://gateway.pipeworx.io/timestamp/mcp
Convert a Unix timestamp to an ISO-8601 UTC date + human forms. Auto-detects seconds vs milliseconds by magnitude (override with unit). Keyless, offline.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
timestamp | number | yes | Unix timestamp. |
unit | string | no | ”s” or “ms” (default: auto-detect). |
Example call
Arguments
{
"timestamp": 1704067200
}
curl
curl -X POST https://gateway.pipeworx.io/timestamp/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"from_timestamp","arguments":{"timestamp":1704067200}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('from_timestamp', {
"timestamp": 1704067200
});
More examples
{
"timestamp": 1704067200000,
"unit": "ms"
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"timestamp": {
"url": "https://gateway.pipeworx.io/timestamp/mcp"
}
}
}
See Getting Started for client-specific install steps.