I'm using php date('W'); function to get a number of the week of this year.
date('W') says "40" (that's correct).
The problem is, that my Linux machine, CentOS has a correct date, but shows incorrect week number.
date +"%W" says "39"
Does anyone know why it works this way and how could I fix it?