Skip to content

Instantly share code, notes, and snippets.

@seripap
Forked from bgadrian/months.js
Created October 8, 2015 21:32
Show Gist options
  • Save seripap/9eb809268eb8026abd9f to your computer and use it in GitHub Desktop.
Save seripap/9eb809268eb8026abd9f to your computer and use it in GitHub Desktop.
JavaScript JS month names arrays
var month= ["January","February","March","April","May","June","July",
"August","September","October","November","December"];
var month = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul","Aug", "Sep", "Oct", "Nov", "Dec"];
//used with date.getMonth()
@quantuminformation
Copy link

lol why am I still subbing to this

@eoussama
Copy link

lol why am I still subbing to this

Likewise

@quantuminformation
Copy link

Likewise

incase they add a new one

@Naveenravi07
Copy link

ty man i was so lazy

@emmanuelkant
Copy link

That god pays you!

@jowc
Copy link

jowc commented May 22, 2023

Thanks, man. I was lazy to type this out.

@ayezabashir
Copy link

Thanks, dude!

@ayezabashir
Copy link

can't it be a const instead?

Yes it can be!

@DanielaBerlin
Copy link

Thanks :)

@pelumisamuel
Copy link

Thanks, I was too lazy for this. :)

@quantuminformation
Copy link

its been fun, but alas i must unsuscribe

@krisyam
Copy link

krisyam commented Nov 8, 2023

Really useful man! Work smarter not harder!

@ib-ganz
Copy link

ib-ganz commented Dec 21, 2023

ty for my 5 minutes

@chidimo
Copy link

chidimo commented Mar 21, 2024

Thank you

@prostomuzaf
Copy link

thank bro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment