---
title: "Comment by Lakshya Thakur on \"The best way to get the month name from a date in JavaScript\" | Hashnode"
description: "I have had some past encounters with the Date API in past when doing some calendar stuff and it can get messy. Even though now unmaintained, I have found moment"
url: "https://hashnode.com/posts/the-best-way-to-get-the-month-name-from-a-date-in-javascript/6502f4574e12178738bc24aa/comment/650bd5cd8cd3ce237b6ddacc"
---

[Discussion](https://hashnode.com/posts/the-best-way-to-get-the-month-name-from-a-date-in-javascript/6502f4574e12178738bc24aa)

Comment [The best way to get the month name from a date in JavaScript](https://hashnode.com/posts/the-best-way-to-get-the-month-name-from-a-date-in-javascript/6502f4574e12178738bc24aa)

[Lakshya Thakur](https://hashnode.com/@lakbychance)

[Sep 21, 2023](https://hashnode.com/posts/the-best-way-to-get-the-month-name-from-a-date-in-javascript/6502f4574e12178738bc24aa/comment/650bd5cd8cd3ce237b6ddacc)

I have had some past encounters with the `Date` API in past when doing some calendar stuff and it can get messy. Even though now unmaintained, I have found `moment` still being a quick and easy way to get the desired formatted date with relative and locale data being consistent. Do you have any recommendations for new `Date` libraries that you have encountered or do you think **JavaScript Internationalization API** standard itself would be enough going forward to use instead of other libraries when used in production apps ?

[Tapas Adhikary](https://hashnode.com/@atapas)

[Sep 21, 2023](https://hashnode.com/posts/the-best-way-to-get-the-month-name-from-a-date-in-javascript/6502f4574e12178738bc24aa/comment/650bd5cd8cd3ce237b6ddacc#reply-650c2bbd721e3f2693c4345a)

Hey [Lakshya Thakur](https://hashnode.com/@lakbychance), yes! The JavaScript Internationalization API has huge potential. In fact, the best method shown in the article uses the same API internally(dateTimeFormat) method.

You should also look into the Temporal API.. that's in stage 3 of the proposal now.
