Given a specific year, how can I calculate, in javascript/JQuery, how many weeks are in the given year? 52 or 53?
I've looked in many answers but none worked for me yet- I need to calculate the first day of year as the first week (as displayed in Outlook calendar). In the calculations that I saw, the first week starts from the first Sunday in the year.