© 2023 Hashnode
#momentjs
For date/time operations, Moment.js was once the recommended library, but now it's not being developed, and it's considered a legacy library. This article will help you replace that library with sever…
Working with dates in React can be a tricky task, especially when it comes to manipulating them. Whether you need to format a date, calculate the difference between two dates, or add or subtract days,…
One of the most crucial elements when setting up an application to be utilized in various languages is date formatting. Nobody wants to work with the Date object and end up breaking them; instead, the…
When managing dates, it is good practice to choose only one robust library and stick to it. To look up later, I wanted to keep one specific moment.js usage here. Solution Start date of the previous mo…
In this tutorial, we will discuss the moment library and its importance in converting MongoDb date string format. We will go ahead and insert the data in an EJS template file. Let's begin first by kno…
Master JavaScript dates and times with Moment.js: The ultimate guide was initially published on Monday January 02 2023 on the Tech Dev Blog. For the latest up-to-date content, fresh out of the oven, v…
Hello everyone! Here is the story of two colleagues who were perplexed and confused while they implement some functionalities.Both are interested in lending hands with themselves whenever they are be…
There is this web application that I've been working on.I wanted to be able to handle globalization while displaying datetime on the web page. This datetime was stored on the server in UTC form.I want…