How to get the 4 monday of a month with js?
(first of all, excuse my english, i'm a beginner) let me explain the situation : I would like to create charts using Google Charts Tool (give it a try, it's very helpful). This part is not really difficult... The problem comes when i have a specific chart requiring in the x-axis the four weeks of a month : i would like to display on the screen only the four mondays in the currentmonth. I already have got the currentMonth and the currentYear variables and i know how to get the first day of the month. all i need is how to get the four mondays of a month, in an array. And all of this in the same