I have the following javascript code
date.getMonth());
This returns me the name of the month in English, how can I get the languages in Italian or in an another language. What does the language option depend on? I mean, what determines the language of the returned variable, and how can I change this language?
My full code is as follows;
var currentTime = new Date()
var minDate = new Date(currentTime.getYear(), currentTime.getMonth()-1);
var maxDate = new Date(currentTime.getFullYear(), currentTime.getMonth());