Skip to content

Instantly share code, notes, and snippets.

@shadyshrif
Forked from seripap/months.js
Created April 21, 2020 00:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shadyshrif/cd271dbb44d723b1a99b24c7b582e104 to your computer and use it in GitHub Desktop.
Save shadyshrif/cd271dbb44d723b1a99b24c7b582e104 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()
@shadyshrif
Copy link
Author

Arabic
months = ["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","اكتوبر","نوفمبر","ديسمبر"];

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