awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
date-fns avatar

date-fns/date-fns

0
View on GitHub↗
36,579 stars·1,966 forks·TypeScript·12 viewsdate-fns.org↗

Date Fns

date-fns is a JavaScript date utility library providing a collection of pure functions for manipulating, formatting, and calculating dates and times. It serves as an immutable date manipulation library and a tool for time zone management, ensuring that date transformations are performed without modifying the original date objects.

The library functions as a date formatting tool that converts date objects into human-readable strings using custom patterns and international locales. It includes a specific toolset for adjusting and calculating date representations across different geographical regions and time offsets.

The project covers a broad range of temporal capabilities, including date manipulation, temporal data calculation, and international date formatting tailored to regional standards.

Features

  • Date Formatting Utilities - Provides a comprehensive set of utilities for formatting date objects into human-readable strings.
  • Date Manipulation Utilities - Offers pure functions for performing arithmetic, comparisons, and transformations on date and time objects.
  • Immutable Date Libraries - Provides a collection of pure functions that ensure date transformations never modify the original date objects.
  • Time Zone Management - Adjusts and calculates date representations across different geographical time zones for accurate scheduling.
  • Date and Time Utilities - Serves as a comprehensive JavaScript utility library for manipulating, formatting, and calculating dates.
  • Time Zone Converters - Includes functions for normalizing and converting date representations across different geographical time zones.
  • Pure Functional Logic Implementations - Employs stateless pure functions that return new date objects to prevent mutation of the original input data.
  • Token-Based Formatters - Implements a token-based engine that transforms date objects into text using predefined character patterns.
  • Duration Interval Calculators - Calculates durations and time intervals by comparing dates or adding/subtracting temporal values.
  • Internationalized Date Formatting - Provides locale-aware date and time formatting by separating formatting logic from regional language data.
  • Tree-Shaking Optimizations - Organizes utilities into individual files to enable build tools to remove unused code from the final bundle.
  • Date And Time - Comprehensive toolset for date manipulation.
  • Date and Time Utilities - Modern, modular utility library for date manipulation.
  • Date Utilities - Modern utility library for dates.
  • Dates and Time - Modular date utility library with individual function imports.
  • Date and Time - Modern date utility library.

Star history

Star history chart for date-fns/date-fnsStar history chart for date-fns/date-fns

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Date Fns

Similar open-source projects, ranked by how many features they share with Date Fns.
  • moment/momentmoment avatar

    moment/moment

    47,965View on GitHub↗

    Moment is a JavaScript date manipulation library used for parsing, validating, manipulating, and formatting dates and times. It provides a system for converting date strings into structured objects using the ISO 8601 standard or custom tokens. The library includes a timezone management tool for handling UTC offsets and geographic timezones, ensuring accurate date calculations across different regions. It features an internationalized date formatter and a relative time calculator to render timestamps as human-friendly durations adapted to various cultural locales and languages. The project co

    JavaScript
    View on GitHub↗47,965
  • moment/luxonmoment avatar

    moment/luxon

    16,360View on GitHub↗

    Luxon is a JavaScript library for parsing, validating, manipulating, and formatting dates and times. It provides a suite of immutable objects for managing points in time, durations, and intervals, ensuring that all transformations return new instances to maintain predictable state. The library distinguishes itself by leveraging the native Internationalization API and environment-based time zone databases. This architecture allows for localized date formatting and global time zone conversions without requiring external data files or additional dependencies. It also supports non-Gregorian calen

    JavaScriptdatesdatetimeintl
    View on GitHub↗16,360
  • iamkun/dayjsiamkun avatar

    iamkun/dayjs

    48,662View on GitHub↗

    Day.js is a lightweight utility for parsing, validating, and manipulating date objects. It provides a fluent, chainable interface that allows for complex time calculations and transformations to be performed through a sequence of readable method calls. By utilizing an immutable wrapper pattern, the library ensures data integrity by creating new instances for every operation rather than modifying existing objects. The project is distinguished by a minimalist core abstraction that maintains a small footprint by offloading non-essential features to an optional, modular plugin system. This archit

    JavaScriptdatedate-formattingdatetime
    View on GitHub↗48,662
  • formkit/tempoformkit avatar

    formkit/tempo

    2,581View on GitHub↗

    Tempo is a JavaScript date manipulation library that provides a suite of tools for parsing, formatting, and calculating dates and times. It serves as a date arithmetic engine, a locale-aware formatter, and a timezone offset manager for native JavaScript date objects. The library includes a dedicated ISO 8601 date parser for validating and converting standardized strings into date objects. It handles geographic normalization through IANA timezone offset management and utilizes the native Internationalization API for region-specific date formatting. The project covers a broad range of date and

    TypeScriptdatedate-formattingdatetime
    View on GitHub↗2,581
See all 30 alternatives to Date Fns→

Frequently asked questions

What does date-fns/date-fns do?

date-fns is a JavaScript date utility library providing a collection of pure functions for manipulating, formatting, and calculating dates and times. It serves as an immutable date manipulation library and a tool for time zone management, ensuring that date transformations are performed without modifying the original date objects.

What are the main features of date-fns/date-fns?

The main features of date-fns/date-fns are: Date Formatting Utilities, Date Manipulation Utilities, Immutable Date Libraries, Time Zone Management, Date and Time Utilities, Time Zone Converters, Pure Functional Logic Implementations, Token-Based Formatters.

What are some open-source alternatives to date-fns/date-fns?

Open-source alternatives to date-fns/date-fns include: moment/moment — Moment is a JavaScript date manipulation library used for parsing, validating, manipulating, and formatting dates and… moment/luxon — Luxon is a JavaScript library for parsing, validating, manipulating, and formatting dates and times. It provides a… iamkun/dayjs — Day.js is a lightweight utility for parsing, validating, and manipulating date objects. It provides a fluent,… formkit/tempo — Tempo is a JavaScript date manipulation library that provides a suite of tools for parsing, formatting, and… dromara/carbon — Carbon is a Go library for semantic date and time calculations, formatting, and parsing. It provides a semantic… hustcc/timeago.js — timeago.js is a JavaScript library that converts timestamps into human-readable relative time strings. It functions as…