---
title: "Discussion on \"JS Date management - date-fns.js\" | Hashnode"
description: "Discussion on \"JS Date management - date-fns.js\". I think the time had come to drop moment.js. \nAnd when saying that is because I found something a bit more convenient and lightweight: https://date-fns.org/\nAnd I like the API, which sounds as:\nconst today = new Date();\nconsole.log( lastDayOfMonth(to..."
url: "https://hashnode.com/posts/js-date-management-date-fnsjs/5f872ff642164e4fe94febf9"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [JS Date management - date-fns.js](https://electron.hashnode.dev/js-date-management-date-fnsjs?utm_source=hashnode&utm_medium=feed)

I think the time had come to drop moment.js. And when saying that is because I found something a bit more convenient and lightweight: https://date-fns.org/ And I like the API, which sounds as: const today = new Date(); console.log( lastDayOfMonth(to...

Oct 14, 2020 · 1 min read · electron.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#time](https://hashnode.com/tag/time)

## Written by

[Cristian Gherghel](https://hashnode.com/@electron)

@electron · Transilvania, RO

  
[View profile](https://hashnode.com/@electron)

art

I am a web dev, specialized in FE technologies, but also very comfortable in BE.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
