gpu-time

Plain English to Real Dates

A small neural model, running locally in your browser

Try It OutType any date or time

Result

  • Fri, Oct 2, 20268:00 PM

Relative to Fri, Sep 11, 2026 · UTC

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

0:001:31

Actual model activations and scores. Connections simplified for clarity