Print months in your own language <!-- Begin snippet: js --> <!-- language: lang-js --> m = []; for (i = 12; i--;) { m[i] = (new Date(0, i, 5)).toLocaleString(0, { month: "long" }); } document.write(m) <!-- end snippet -->