Skip to content

Instantly share code, notes, and snippets.

@devarajchidambaram
Created October 30, 2019 11:45
Show Gist options
  • Save devarajchidambaram/454247ed38bcedb327f3e86c4405085d to your computer and use it in GitHub Desktop.
Save devarajchidambaram/454247ed38bcedb327f3e86c4405085d to your computer and use it in GitHub Desktop.
get month string from js
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