moment

Parse, validate, manipulate, and display dates in javascript. (by moment)

Moment Alternatives

Similar projects and alternatives to moment

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better moment alternative or higher similarity.

Suggest an alternative to moment

Reviews and mentions

Posts with mentions or reviews of moment. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-20.
  • React/Webpack: From MB to KB. How we solved our bundling problem
    dev.to | 2021-10-20
    Second step was removing the “heavy” libraries, it was easy removing Moment.js, Bluebird. We replaced the first with date-fns and Bluebird with native promises. Lodash unfortunately because of time constraints we could not refactor into moving out from some “handy” utilities it provides but we are planning to.
  • Any bad experience with libraries such as date-fns.js or sugar.js (instead of moment.js) with Netsuite SuiteScript 2.X? (xposted from /r/Netsuite)
    I've been meaning to use moment.js for a long time in Netsuite but instead always jimmied around with native javascript date functions. Finally getting around to doing some basic functions with moment.js in a couple of solutions, but non-Netsuite developers are telling me date-fns.js is more intuitive and lightweight than moment.js. Also there are other libraries like sugar.js with functions like "Date.create('last week Friday');" which look like it would be fun to use with N/query or N/search.
  • Build Instructions for your own WSB 3000
    The clock is in Javascript. Time zones in JavaScript historically are non-trivial since everything is based on the client clocktime. Fortunately, there is moment.js and moment-timezone-with-data.js that vastly simplify getting the current time at the NYSE. The clock keeps ticking correctly irregardless of which tab is active. I find the clock to be also functional since the WSBoy is worn over where I would usually be wearing my watch.
  • Forcing engineers to release by some arbitrary date results in shipping unfinished code - instead, ship when the code is ready and actually valuable
    oh nice, thanks! you can help here: https://github.com/moment/moment/blob/develop/CONTRIBUTING.md
  • Does anyone know why I am getting this error when trying to install NPM?
    reddit.com/r/node | 2021-09-13
    npm WARN deprecated @types/[email protected]: This is a stub types definition for Moment (https://github.com/moment/moment). Moment provides its own type definitions, so you don't need @types/moment installed!
  • ISR + React Query: Insanely fast nearly-dynamic sites
    dev.to | 2021-09-13
    To test if ISR is working, you can put some dates on the page. One is returned from getStaticProps at build time, and the other is returned when the page is loaded. I've used moment to format the dates to time. Your page will look something like this:
  • Node.js Packages and Resources
    dev.to | 2021-09-06
    Moment.js - Parse, validate, manipulate, and display dates.
  • The Easiest Way To Format Dates In JavaScript
    dev.to | 2021-08-25
    For dates Moment.js was a powerful player. They made it easier to format, calculate and do all other things with dates. Formatting dates were only doable by using a JavaScript library. But it was an extensive library.
  • Most popular JavaScript frameworks and libraries 2021
    dev.to | 2021-08-24
    Moment.js - A JavaScript date library for parsing, validating, manipulating, and formatting dates.
  • What is the size impact of importing Day.js
    dev.to | 2021-08-02
    Day.js is an interesting library that implements a similar API as moment.js but with a smaller overhead. Because it's implementing the same fluent interface, tree-shaking is not possible with it, but the library looks promising size-wise anyway.
  • Date Formatting
    I just use moment … https://momentjs.com
  • The Frontend Hitchhiker's Guide: 3rd Party Code
    dev.to | 2021-07-17
    These are libraries that are small and focused on making a specific problem easier for the developer. Moment.js can make displaying time based data and perform various operations with it. Underscore adds a collection of functional programming primitives to JavaScript if that's your cup of tea. Lodash is similar in providing functions to make working with arrays, numbers objects easier.
  • Is there any way to work with time without using Date() in javascript?
    Not sure if this is exactly what you are asking but moment.js is an extremely popular library for parsing, formatting, displaying dates... quite a bit more flexible than the native Date object IMO.
  • JavaScript Date Object Simplified
    dev.to | 2021-07-05
    Although this striking connection with our daily lives, Date in JavaScript remains one of the most complicated and thus, feared topics. So much so that we have to rely on external libraries like Moment.js for the simplest tasks.
  • Temporal: Getting started with JavaScript's new date time API
    news.ycombinator.com | 2021-06-28
    > But let us be honest, it has to compete with moment.js, not with Date().

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

    https://github.com/moment/moment/#project-status

Stats

Basic moment repo stats
34
46,034
1.5
19 days ago

moment/moment is an open source project licensed under MIT License which is an OSI approved license.

Scout APM: A developer's best friend. Try free for 14-days
Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.
scoutapm.com
Find remote JavaScript jobs at our new job board 99remotejobs.com. There are 17 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.