moment

    moment/moment

    #548 this week

    Parse, validate, manipulate, and display dates in javascript.

    web
    JavaScript
    MIT
    47.9K stars
    7.0K forks
    47.9K GitHub watchers
    Updated 10/4/2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Use Cases & Benefits

    • Parse, validate, manipulate, and format dates in JavaScript with a comprehensive date library.
    • Provides a simple and consistent API for complex date operations, easing date handling in JavaScript projects.
    • Use for formatting and displaying dates in user interfaces across web applications.
    • Use for validating and parsing user input dates in forms and data processing workflows.
    • Use for manipulating dates in scheduling, calendar apps, or time-based calculations in JavaScript.

    About moment

    Moment.js

    NPM version NPM downloads MIT License Build Status Coverage Status FOSSA Status SemVer compatibility

    A JavaScript date library for parsing, validating, manipulating, and formatting dates.

    Project Status

    Moment.js is a legacy project, now in maintenance mode. In most cases, you should choose a different library.

    For more details and recommendations, please see Project Status in the docs.

    Thank you.

    Resources

    License

    Moment.js is freely distributable under the terms of the MIT license.

    FOSSA Status

    Discover Repositories

    Search across tracked repositories by name or description