Skip to content

QronoJust right date time library

Simple, immutable, and powerful date-time manipulation for JavaScript

Quick Start

sh
npm install qrono
sh
bunx jsr add @urin/qrono
sh
deno add jsr:@urin/qrono
html
<script src="https://unpkg.com/qrono/dist/qrono.min.js"></script>
javascript
import { qrono } from 'qrono'

// Get current time
const now = qrono()

// Add 7 days
const nextWeek = now.plus({ day: 7 })

// Comparisons work naturally
if (now < nextWeek) {
  ...
}

// ISO 8601 format (UTC default)
now.toString()                        // 2026-02-08T21:28:12.214Z
qrono({ localtime: true }).toString() // 2026-02-08T17:28:12.214-04:00

Learn More