ClockMath

About ClockMath

A thoughtfully made toolbox for the people who read a lot of timestamps.

Why this exists

ClockMath was built by a someone who creates a lot of business reports and spends a fair bit of time piecing together exactly what happened and when. That kind of work means constantly translating between formats: a DateTime.Ticksvalue from a .NET log, a Unix millisecond timestamp from a service trace, a UTC event reconstructed in the customer's local zone, or a cron expression that needs a plain-English sanity check before anyone trusts it.

The existing tools for all of this tend to live on a dozen scattered, ad-heavy sites, each with their own little quirks, and almost none of them shareable. The goal here was something gentler: one tidy page per tool, a permalink for every result, no sign-in, no tracking, and no server round-trip for the conversion itself. Paste a value, get an answer, copy the link, get on with your day.

How it's built

Everything runs in your browser. Inputs are never sent to a server, and the URL bar is the only state the site holds onto, which is exactly what makes results so easy to share. Hosting is fully static, so there is no backend quietly logging what you paste.

  • Next.js 16 (App Router)Routing, server-rendered pages, and per-tool metadata for SEO. Static HTML wherever possible, so each tool loads instantly.
  • React 19 + TypeScriptAll inputs and live conversions are client-side React. TypeScript keeps the maths around ticks, Unix epochs, and timezones honest.
  • Tailwind CSS v4Layout, theming, and the day and night palette. The soft sky gradient and the gentle rain are pure CSS, with no JS in the paint loop.
  • next-themesLight and dark switching that respects your system preference and quietly remembers your choice between visits.
  • LuxonEvery timezone-aware calculation, including IANA zone handling, daylight-saving transitions, and ISO-8601 formatting.
  • cron-parser + cronstrueThe pair behind the cron explainer. Together they parse expressions, compute the next runs, and render a friendly plain-English description.
  • ZodValidates URL params and shareable permalinks before they ever reach the conversion logic.
  • VitestUnit tests for the conversion libraries. Anything that touches BigInt or timezones has tests behind it.

Who made it

ClockMath is lovingly maintained by a software engineer who simply needed a calm, go-to tools page during the workday. Somewhere to write reports from, reconstruct incident timelines, and convert whatever timestamp format the next log line happens to throw out.

If a tool is missing, behaving oddly, or could be a little more useful for your own timeline work, feedback is always very welcome.

Start with a tool