$ npm install moment
A JavaScript date library for parsing, validating, manipulating, and formatting dates.
⚠️ Moment.js is a legacy project, now in maintenance mode. New features are not being accepted. For more details, see the latest project status update.
Thank you.
Moment.js is a project of the OpenJS Foundation, which is part of the Linux Foundation.
Install Moment.js using a package manager like npm, yarn, or bun.
npm install moment
Moment.js is an OpenJS Foundation project and is freely distributable under the terms of the MIT license.
<picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/openjs-foundation/artwork/main/openjs_foundation/openjs_foundation-logo-horizontal-color-dark_background.svg">Copyright OpenJS Foundation and Moment.js contributors. All rights reserved. The OpenJS Foundation has registered trademarks and uses trademarks. For a list of trademarks of the OpenJS Foundation, please see our Trademark Policy and Trademark List. Trademarks and logos not indicated on the list of OpenJS Foundation trademarks are trademarks™ or registered® trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.
The OpenJS Foundation | AI Coding Assistants Policy | Bylaws | Code of Conduct | Cookie Policy | Privacy Policy | Terms of Use | Trademark List | Trademark Policy
© 2010 - cnpmjs.org x YWFE | Home | YWFE