{"uid":"cap_g3WIfx6-F2L0EJbrAIT9d","slug":"pennyrail-date-difference-calculator-db40e5ba","name":"PennyRail Date Difference Calculator","description":"Machine-readable settlement service","url":"https://pennyrail.vercel.app/api/p/nano/time.diff-seconds--date-difference","method":"POST","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"input":{"type":"object"}}},"responseSchema":{"type":"object","additionalProperties":true},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_N2G5awpcVO64SZF_7_omh","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the difference in seconds between two dates","exampleAgentPrompt":"How many seconds are between January 1, 2024 and March 15, 2024? Use PennyRail to calculate the exact difference in seconds.","exampleUseCases":[{"title":"Event countdown in seconds","prompt":"How many seconds are there between today, July 10, 2025, and the event date of December 31, 2025? I need the exact second count for a countdown timer."},{"title":"Contract duration measurement","prompt":"Calculate the total number of seconds between a contract start date of March 1, 2024 and its end date of March 1, 2025 so I can compute SLA metrics."},{"title":"Age calculation in seconds","prompt":"How many seconds old is someone born on June 15, 1990, measured to today, July 10, 2025?"}],"resultDescription":"Returns a numeric value representing the absolute or signed difference in seconds between the two supplied dates, likely wrapped in a JSON object with a result or value field.","failureModes":["Invalid or unparseable date strings return an error response","Missing required input fields cause a 400-level error","Reversed date order may return a negative value or error depending on implementation","Extremely distant date ranges may cause overflow or precision issues","Payment failure (insufficient funds or x402 protocol error) prevents the call from completing"],"whenToPreferThis":"Use this endpoint when you need a precise, programmatic second-level time difference between two dates within a paid micro-service workflow, especially when already integrated with the x402 payment protocol on PennyRail. It is ideal for lightweight temporal arithmetic where you want a hosted computation rather than implementing date math locally.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:54:38.760Z","isFirstParty":false}