moment/moment
#591 this week
Parse, validate, manipulate, and display dates in javascript.
47.9K stars
7.0K forks
47.9K GitHub watchers
Updated 7/10/2026
Backblaze Generative Media Hackathon
Build the next generation of AI media apps with Genblaze, stored on Backblaze B2. $10,000 in prizes.
Loading star history...
Use Cases & Benefits
- Provides utilities to parse, validate, manipulate, and format dates in JavaScript.
- Offers a simple and consistent API for complex date operations across different browsers and environments.
- Use for handling date and time formatting in web applications requiring user-friendly display.
- Use for validating and parsing user input dates in forms or data processing workflows.
- Use for manipulating dates in scheduling, calendar apps, or time-based calculations in JavaScript projects.
About moment
Moment.js
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.
Discover Repositories
Search across tracked repositories by name or description