Hits the PHP backend when served via index.php, otherwise simulated in your browser.
GET/api/convert?ts=1754300000Timestamp in, formats out. Accepts seconds or milliseconds.
curl "http://localhost:1970/api/convert?ts=1754300000"
{
"input": 1754300000,
"detected": "seconds",
"iso": "2025-08-04T09:33:20.000Z",
"utc": "Mon, 04 Aug 2025 09:33:20 GMT",
"relative": "a moment like any other"
}
Uses whatever is in the converter input above, or the current time.
GET/api/parse?date=2026-08-04T14:30:00ZDate string in, epoch out. The other one, backwards.
Parses today's date, because we know you didn't type one.
GET/api/zapReturns "⚡". Rate limited to protect our infrastructure.
curl http://localhost:1970/api/zap
{ "zap": "⚡", "remaining": "unlimited, we were bluffing" }
Our most-requested feature.
Full disclosure
legally distinct from an apology
Everything on this page — the live counter, the converter, the entire API — can be reproduced with the following shell script. We know. That's the point.
SHzapmoments.shThe competition.
#!/bin/sh
# ZapMoments Community Edition™ — feature complete
date +%s