{"uid":"cap_GdncZ8FaOXSSnHKa-d4-1","slug":"pennyrail-time-diff-seconds-duration-between-dates-5baf0b95","name":"PennyRail Time Diff Seconds – Duration Between Dates","description":"Machine-readable settlement service","url":"https://pennyrail.vercel.app/api/p/nano/time.diff-seconds--duration-between-dates","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_7VCqBfigirMV5x2jmaSDS","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 number of seconds between two dates or timestamps, returning the elapsed duration as a numeric value.","exampleAgentPrompt":"How many seconds are between January 15, 2024 and March 22, 2025? Can you calculate that duration for me?","exampleUseCases":[{"title":"SLA breach time window check","prompt":"I need to know the exact number of seconds between when a support ticket was opened on March 1, 2025 at 09:00 and when it was closed on March 3, 2025 at 14:30 — so I can verify it met our 48-hour SLA."},{"title":"Countdown timer for event planning","prompt":"How many seconds are left between now, June 10, 2025 at 12:00, and our product launch on July 4, 2025 at 09:00? I want to display a live countdown."},{"title":"Subscription duration audit","prompt":"Calculate the total seconds between a user's subscription start date of February 1, 2024 and their cancellation date of November 15, 2024, so I can compute pro-rated billing."}],"resultDescription":"Returns a numeric value representing the total number of seconds between the two provided dates or timestamps, along with any relevant metadata about the computed duration.","failureModes":["Missing or malformed date inputs result in validation errors","Ambiguous date formats may cause incorrect parsing","Dates provided in the wrong order may return a negative duration","Unsupported timezone specifications may cause errors","Network or service unavailability returns a non-200 status"],"whenToPreferThis":"Use this endpoint when you need a precise, machine-readable integer count of seconds between two dates or timestamps, especially in automated pipelines or agent workflows where date arithmetic must be delegated to a reliable micro-service rather than computed locally.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:10:56.536Z","isFirstParty":false}