---
title: "Day.js"
description: "A compact date library with a chainable API."
pagination: false
---

{/* Generated from content/. Edit the catalog, not this page. */}

<PurposeNote title="Good for">Working with dates through a familiar, chainable API.</PurposeNote>

## What it does

A compact date library with a chainable API.

## When it fits

Working with dates through a familiar, chainable API.

## What you build

Use Day.js objects for parsing, manipulation, and display. Enable the plugins and locales your application needs, and check their behavior against your date formats.

## Keep in mind

Add plugins for capabilities beyond the core.

## Other options in this category

<div data-pagefind-ignore>

- [@internationalized/date](/dates/internationalized-date) — Building date controls that need explicit calendar and timezone behavior.
- [Chrono](/dates/chrono) — Turning phrases such as next Friday into structured date information.
- [date-fns](/dates/date-fns) — Picking individual functions for the date operations you need.
- [pretty-ms](/dates/pretty-ms) — Showing elapsed time and task durations in interfaces or logs.
- [Spacetime](/dates/spacetime) — Working with dates across timezones using a chainable interface.

</div>

## Source

[Project source for Day.js ↗](https://day.js.org/)

Editorial overview reviewed on October 24, 2026. Follow the source for current setup, compatibility, and licensing.

[Format a date →](/tasks/format-a-date)

[All dates &amp; time options →](/dates)
