Created
October 30, 2019 11:45
-
-
Save devarajchidambaram/454247ed38bcedb327f3e86c4405085d to your computer and use it in GitHub Desktop.
get month string from js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let date = new Date() | |
date.toLocaleString('default', { month: 'short' }) //narrow , long short available |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment