Home > Article > Backend Development > There are 53 weeks in 2015 in PHP, how to calculate it? How should it be calculated if using JS?
As mentioned, thank you!
I just discussed it and I don’t know if the following conclusion is correct:
The first day of the year is Monday to Thursday, which is the first week of the year;
The last day of the year is Thursday to Sunday, which is the 53rd week of the year
As mentioned, thank you!
I just discussed it and I don’t know if the following conclusion is correct:
The first day of the year is Monday to Thursday, which is the first week of the year;
The last day of the year is Thursday to Sunday, which is the 53rd week of the year