gpu-time — Plain English to Real Dates

· gpu-time

1 min read Original article ↗
gpu-time

A small neural model, running locally in your browser

The model is uncertain about this expression.

  • Fri, Oct 2, 20268:00 PM

Relative to Sun, Sep 27, 2026 · UTC

  • Day or Date
  • Clock Time
  • Repeats
  • How Long

Tap One, See the Dates

Each of these runs in the box above

Use It in Your Code

You pass the phrase, your reference instant, and your timezone. You get back dates and RFC 5545 rules

$ npm install gpu-time

import { parse } from "gpu-time";

const { occurrences, rrules } = await parse("Every Monday from 8pm to 10pm", {
  reference: "2026-09-10T12:00:00+06:00", // your "now"
  timeZone: "Asia/Dhaka",            // your zone
});

// occurrences[0] → { start: "2026-09-14T20:00:00+06:00",
//                    end: "2026-09-14T22:00:00+06:00", allDay: false }
// rrules[0]      → "RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=MO"

Inside the Model

Words to scores to dates, in 24,761 parameters

Actual model activations and scores. Connections simplified for clarity